http://bugs.winehq.org/show_bug.cgi?id=19821
--- Comment #6 from Thomas Heckel thomas.heckel@gmx.net 2009-08-23 12:04:43 --- (In reply to comment #5)
(In reply to comment #4)
Registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Language\InstallLanguage should contain same number as registry key HKEY_CURRENT_USER\Control Panel\International\Locale to make both Autohotkey and gimp detect the language of Windows right.
What is the purpose of that check? What exactly happens if the value of that key is english? That key has nothing to do with the user locale.
If "Nls" key is 0409 (English) then Autohotkey reports to the scripts which are using the internal AHK variable "A_Language" they're under an english environment. Which is not the case, as other apps show correctly. But the - maybe wrong - assumption of AHK with using "Nls" key works well under Windows.