[Bug 20377] MacOS LANG=xyz wine winecfg does not switch language/locale

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 24 14:13:28 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=20377





--- Comment #6 from Charles Davis <cdavis at mines.edu>  2009-11-24 14:13:27 ---
(In reply to comment #5)
> If you set LANG before running Wine does the locale returned by Mac framework
> match it? +nls log would help to see that.

Nope. Core Foundation returns en_US.UTF-8, no matter what I set LANG to.
(That's the current locale on my system, as set in System Preferences.app.)

I found this line several times in the +nls log:

trace:nls:LOCALE_Init setting lcid_LC_MESSAGES to 'en'

which indicates that the real reason LANG doesn't appear to affect locale is
that Wine loads strings based off of the LC_MESSAGES setting, which is set to
the user's default language on Mac OS.

I know how to fix this now. What we want to do is avoid overriding LC_MESSAGES
if there was a LANG variable to begin with.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list