http://bugs.winehq.org/show_bug.cgi?id=19821
Summary: AutoHotKey reports wrong Nls language Product: Wine Version: 1.1.28 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: brawxingerole@mailueberfall.de
When I run Gimp 2.6.7 it starts localised under WindowsXP German and in Wine installation 1.1.28 on german localised Ubuntu 8.04.
Gimp gets the current localisation information from registry key:
HKEY_CURRENT_USER\Control Panel\International\Locale
I then tried to run a modified appinstall script gimp.ahk which determines current locale language with Autohotkey's internal %A_Language% variable.
Under Windows XP German this modified script detects language correctly and runs it errorfree.
Running the script in "German Standard" locale (0407) Wine installation on Ubuntu 8.04 doesn't work.
AutoHotKey greps the information for the variable from registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Language\InstallLanguage
Checking the keys reveals that AutoHotKey fails under Wine because there the HKLM...\Nls\Language\InstallLanguage key contains always 0409 independent of Linux locale.