Nmap Development mailing list archives
Re: zenmap: problems with GUI language
From: Alexander Khodyrev <spxnezzar () gmail com>
Date: Tue, 15 Dec 2009 14:16:30 +0300
As i know. In windows not have application whitch uses LANG variable. gtk application uses self variables for this. last nmap installing on my russian windows 7 perfect, and have Russian interface. Although for 5.00 i was must set LANG variable for my language. Best regards, Khodyrev "SpxnezzaR" Alexander 2009/12/14 David Fifield <david () bamsoftware com>
On Mon, Dec 07, 2009 at 12:46:35PM +0100, Robert Premuž wrote:As I use Croatian regional settings in Windows, the zenmap GUI is in Croatian. Unfortunately, I haven't been able to change that by following the procedures on http://nmap.org/book/zenmap-lang.html I tried to run the following commands in the Windows command shell (cmd.exe): set LANG=en_US zenmap but zenmap started with GUI in Croatian language. Just in case I tried to set LANG using the Control Panel but the effect was the same. As a last resort I renamed "C:\Program Files\Nmap\share\zenmap\locale\hr" so that zenmap couldn't find the Croatian language file and this way I got GUI in English. So, is there something broken in zenmap for Windows regarding these issues? Am I doing something the wrong way?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? David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- zenmap: problems with CLI options and GUI language Robert Premuž (Dec 07)
- Re: zenmap: problems with CLI options David Fifield (Dec 13)
- Re: zenmap: problems with GUI language David Fifield (Dec 13)
- Re: zenmap: problems with GUI language Robert Premuž (Dec 14)
- Re: zenmap: problems with GUI language Robert Premuž (Dec 17)
- Re: zenmap: problems with GUI language Alexander Khodyrev (Dec 15)
- Re: zenmap: problems with GUI language David Fifield (Dec 31)
- Re: zenmap: problems with GUI language Robert Premuž (Dec 14)