I can get the user’s language preferences by looking at [NSLocale preferredLanguages]. But if I offer ‘en’ and ‘fr’ translations, and the user’s preferences are ‘en-GB’, ‘de’, ‘fr’, ‘en’ will they see my ‘en’ or my ‘fr’ translation? How do I get the language that the user is currently seeing in my app?
I can get the user’s language preferences by looking at [NSLocale preferredLanguages] . But
Share
If you want to see which of your localizations is being used, store a string in your strings file describing it (“en”, “fr” or whatever) and then load it with NSLocalizedString.