http://bugs.winehq.org/show_bug.cgi?id=15181
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |jeffz@jeffz.name
--- Comment #14 from Jeff Zaroyko jeffz@jeffz.name 2009-06-13 09:16:29 --- Created an attachment (id=21771) --> (http://bugs.winehq.org/attachment.cgi?id=21771) kernel32: set sLanguage to LOCALE_SABBREVLANGUAGE to match Windows behavior
It looks like as a Profile entry and under Control Panel\International sLanguage is not LOCALE_SLANGUAGE but instead appears to be LOCALE_SABBREVLANGNAME.
I've checked Windows 95, XP, Vista and a Windows 7 beta, they all use a 3 letter string for sLanguage in the Profile or Control Panel\International.
GetLocaleInfo for LOCALE_SLANGUAGE should still return the LOCALE_SLANGUAGE string, which suggests that the Control Panel\International overrides should not be checked by GetLocaleInfo for LOCALE_SLANGUAGE.
Also tested on Vista, attempting to modify sLanguage to override it does not modify the behavior of GetLocaleInfo.