Nmap Development mailing list archives

Re: zenmap: problems with GUI language


From: Robert Premuž <rpr.nospam () gmail com>
Date: Mon, 14 Dec 2009 12:23:48 +0100

2009/12/13 David Fifield <david () bamsoftware com>:

Zenmap gets the locale by calling the locale.getdefaultlocale function.

http://docs.python.org/library/locale.html#locale.getdefaultlocale

On Windows, this first tries to get the locale by calling the
GetLocaleInfo function.

http://msdn.microsoft.com/en-us/library/dd318101(VS.85).aspx

If that fails, then it examines environment variables such as LANG.
Maybe there's a Windows way to accomplish this without LANG? Is there a
way to run just one application in a different locale? Does anybody have
a non-English system locale, but run certain applications in English,
for example?

Actually, I don't know of any Windows application that uses the LANG
variable. I've seen some Windows applications that enable changing
locale in their preferences (e.g. VLC media player and InfraRecorder,
both under GNU GPL). It would be fine if I could do that in zenmap
also.

-- rpr.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: