Changing the language on the iOS 8.1 simulator does not work

If I change the language on the iOS 8.1 simulator to something and try to detect it from the code using

NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0]; NSLog(@"Language: %@", language); 

I get "en" back. I tried resetting the navigator, etc. I tried this using the iOS 7.1 runtime (in Xcode 5.1.1) and it worked fine. Has anyone been able to find a workaround for this problem?

+66
ios ios-simulator localization
Jul 05 '14 at 15:52
source share
4 answers

According to the release notes, this is a known issue. Works. If you go to "Edit Schema ...", then the "Application Language" option will appear on the "Settings" tab. This affects only the current startup parameters, and not the application, as a change in the device language.

enter image description here

+150
Nov 01 '14 at 22:25
source share
β€” -

Another iOS8.1 cheat. The simulator always uses the US keyboard layout, despite the German hardware keyboard

Known and documented bug mentioned in the Xcode 6.1 release notes. Radar file if you want to add your +1 to the complaint list at http://bugreport.apple.com

+1
Oct 29 '14 at 1:58
source share

use [[NSLocale availableLocaleIdentifiers]

0
Oct 08 '14 at 20:20
source share

My simulator is in French. When I want to check the interface in English, changing the iphone language is not enough. I need to change the region settings at least twice.

0
Dec 15 '15 at 16:50
source share



All Articles