Qt-interest Archive, July 2007
QLocale::system() on Mac OS X does return correct locale?
Message 1 in thread
Hi all,
Did anyone have problem with QLocale::system() call on
Mac OS X 10.4.x? Here's what I did:
In Mac OS X system preferences->International panel, I
set italiano as the top of the language list. But
QLocale::system().name() still returns "en". All other
programs, such as Safari, display Italian language in
the menu bar and other controls.
Only when I set region in the Formats tab to Italia,
QLocale::system().name() would return "it", even if I
set language as english. Isn't this wrong? Shouldn't
the system locale be the system language, as other
applications seem to be using?
I would really appreciate any suggestions.
Thank you,
pbai
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
--
[ signature omitted ]