Reputation: 5902
Is it possible to create a localized IOS application independent from the device's language. For example in .net we set CurrentCulture and CurrentUICulture to the specified language, is this possible in IOS? The goal is to create a multilingual IOS application.
Upvotes: 1
Views: 529
Reputation: 92335
Do not try to switch the language manually. Just follow Apples internationalization guides. Localization is pretty easy on iOS and you do not set anything to "switch" languages, iOS already chooses the correct one according to the languages you provide and the language priorities the user has set in the settings.
Upvotes: 0
Reputation: 14169
Yes, this is possible, but you shouldn't do it (see Human Interface Guidelines):
NSArray *langOrder = [NSArray arrayWithObjects:@"en", nil];
[[NSUserDefaults standardUserDefaults] setObject:langOrder forKey:@"AppleLanguages"];
Upvotes: 2