It seems that NSDateFormatter has a "feature" that bites you unexpectedly: If you do a simple "fixed" format operation such as: NSDateFormatter* fmt = [[NSDateFormatter alloc] init]; [fmt setDateFor...
My users can change the Locale within the app (they may want to keep their phone settings in English but read the content of my app in French, Dutch or any other language ...) Why is this working per...
After installing the latest Mac OSX 64-bit Anaconda Python distribution, I keep getting a ValueError when trying to start the IPython Notebook. Starting ipython works fine: 3-millerc-~:ipython Pytho...
My app supports 3 (soon 4) languages. Since several locales are quite similar I'd like to give the user the option to change locale in my application, for instance an Italian person might prefer Spani...
Just recently context.getResources().updateConfiguration() has been deprecated in Android API 25 and it is advised to use context.createConfigurationContext() instead. Does anyone know how createConf...
I have a question about formatting the Rupee currency (Indian Rupee - INR). Typically a value like 450500 is formatted and shown as 450,500. In India, the same value is displayed as 4,50,500 For exa...
I'm trying to format a date in Java in different ways based on the given locale. For instance I want English users to see "Nov 1, 2009" (formatted by "MMM d, yyyy") and Norwegian users to see "1. nov....
Why do I get the following error when doing this in python: >>> import locale >>> print str( locale.getlocale() ) (None, None) >>> locale.setlocale(locale.LC_ALL, 'de_DE') ...
I have a NSDate object. Let's say it represents "1-10-2011" NSDate *date = [df dateFromString:@"2011-10-01 00:00:00"]; That date translates into "2011-09-30 22:00:00" because of my timezone. Quest...
So I want to get the value of a String in several locales regardless of the current locale setting of the device/app. How should I do that? Basically what I need is a function getString(int id, Strin...