I'm developing an iOs application with latest SDK and XCode 4.2.
I need to add a menu where user can changes only app language (I don't want to change device language).
I also want to use NSLocalizedString
.
How can I do this?
Try this:
// switching to polish locale
[[NSUserDefaults standardUserDefaults] setObject:@[@"pl"] forKey:@"AppleLanguages"];
[[NSUserDefaults standardUserDefaults] synchronize];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With