[NSLocale currentLocale] always returns "en_US" not user's current language
- by Prairiedogg
I'm in the processes of internationalizing an iPhone app - I need to make programmatic changes to certain views based on what the user's current locale is. I'm going nuts because no matter what the language preference on the iPhone simulator or actual hardware are, locale always evaluates to "en_US":
NSString *locale = [[NSLocale currentLocale]…