How to detect the iOS language in iOS?
[[[NSUserDefaults standardUserDefaults] objectForKey:@"AppleLanguages"] objectAtIndex:0]]; // us
This writes into a NSString the current country code so you can detect the current language.
Or use this to get the current language and the region:
NSString *locale = [[NSLocale currentLocale] localeIdentifier]; // en_US
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