zaphod.b
30th December 2013, 13:57
Hi all,
On Mac OS X, QLocale::system() refers to Region rather than Language.
Is there a (Qt or other) way to access the Language from C++ code?
Edit: I'm currently on Qt 5.2.
Thx
Added after 12 minutes:
Supplement:
I found this AppleScript approach (http://stackoverflow.com/questions/7160462/get-language-of-currently-logged-in-user-via-applescript) which might help. However I'd prefer something more convenient... Qt-ish or at least C++-ish...
On Mac OS X, QLocale::system() refers to Region rather than Language.
Is there a (Qt or other) way to access the Language from C++ code?
Edit: I'm currently on Qt 5.2.
Thx
Added after 12 minutes:
Supplement:
I found this AppleScript approach (http://stackoverflow.com/questions/7160462/get-language-of-currently-logged-in-user-via-applescript) which might help. However I'd prefer something more convenient... Qt-ish or at least C++-ish...