In which language can I run an app? And I do not mean that the preferences set in the settings!
Let me explain it further ... I relocated my app with three languages: English, Italian and Spanish. If the iPhone is set to Italian or Spanish, then the app will use both of them ... otherwise it comes back in English. For example: a French user gets the English version ... even if the French language is set, my app automatically uses English now ... I have this "value" in my code How can I return?
Thank you!
You can get the user's preferred language by using:
NSString * LanguageCode = [[NSLokel preferred languages] ObjectTitx: 0]; The [NSLokel preferred loyalty] array contains really all the user's preferred language in descending order, so you support your app, you can only loop through it.
Comments
Post a Comment