discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correct Current NSLocale on Android


From: Stefan Pauwels
Subject: Correct Current NSLocale on Android
Date: Wed, 16 Sep 2020 12:22:19 +0200

Hi

I am initializing GNUstep on Android as advised in the tools-android README, 
i.e. I am calling
[NSUserDefaults setUserLanguages:]
which seems to work for just setting the language, but when I try to rely on 
the currentLocale (for other information like region, metric system usage, 
etc.) I always get „en_US_POSIX“ as the locale.

Is there a way to manually init the locale correctly?

Best Regards
Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]