Country / Locale settings in non-KDE desktops/OS

Ralf Habacker ralf.habacker at freenet.de
Fri Aug 28 07:05:03 BST 2009


John Layt schrieb:

<snip>
> So:
>
> 1) KLocale when it finds it doesn't have a Country configured should try find 
> the Country of the host shell and load that in preference to C.  
> QLocale::system().country() could give this, albeit with some futzing around 
> as it returns an enum not the ISO code?
>   
QLocale::system().name() returns 'de_DE' on my german windows installation.

Ralf





More information about the kde-core-devel mailing list