Localisation Language settings iPhone - ios

I have added two language localisation in my iOS project
Spanish(es)
Argentinean Spanish (es-AR)
In my iPhone language setting i have checked 'esponal' but it loads the Spanish(es) strings.
Now i need to check the Argentinean Spanish too. So what settings i need to do in my iPhone to check Argentinean Spanish.

You need to set the iPhone region settings to Argentina.
Edit:
Actually, it look slike this is not supported on iOS:
Important: In iOS, the bundle interfaces do not take dialect or script information into account when looking for localized resources; only the language designator code is considered. Therefore if your project includes language-specific project directories with both a language and region designator, those directories are ignored. The bundle interfaces in OS X do support region designators in language-specific project directories.
https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html#//apple_ref/doc/uid/20002144-BBCEGGFF

Related

Is it possible to localize an iOS app name based on region only?

I'm developing an internationalized version of my Cordova+Ionic app for iOS. The current app name is in Swedish, and I want to keep the name for the Swedish market, but the international app will have a new name.
I need the app to have the Swedish name for all users in Sweden, regardless of the chosen language. Is it possible to localize the app name based on region only?
I know you can localize it using a InfoPlist.strings resource with CFBundle(Display)Name properties, but the locales used to determine what resource to use are (as far as I'm aware) solely based on the devices preferred language/locale setting and takes no consideration about the device's region setting.
For instance, the resource for the en-GB locale (located at en-GB.lproj/InfoPlist.strings) is loaded when the preferred language is set to English (United Kingdom), but not for English with region set to United Kingdom.
Thanks
No, currently that is impossible
This is the extract from the documentation:
First, the bundle determines which localization to use for the application as a whole. If a .lproj folder exists for the preferred language, that localization is used. Otherwise, the bundle searches for an .lproj folder matching the next preferred language, and so on, until one is found. If there is no localization for a preferred language, the bundle chooses the development language localization.

Xcode: best way to localize one of the "Other" languages?

In Xcode 5 > Project > Info > Localizations one can pick a language/region from Other section. Can one localize an app for a region/language that is not among the 32 languages found under Settings.app > General > International > Language without any extra code? And what about InfoPlist.strings and its CFBundleDisplayName localized to a region?
Take Belarusian (be), for example. Can Xcode use be.lproj at runtime without any additional code (on my part)? Or must one manually pick the locale, i.e. using [[NSLocale currentLocale] localeIdentifier]?
Apart from Localizable.strings (for which one can provide code, if need be), I'm mostly concerned about CFBundleDisplayName: can CFBundleDisplayName be localized to one of the Other languages/regions? As far as I can tell, InfoPlist.strings (and CFBundleDisplayName within it) can't be manipulated from code.
Related:
Multiple Localized .strings Files in iOS App Bundle
Localizing apps for non-standard locales
I could have a separate Target for each of those Other languages:
That is, localize those 32 supported languages under Target 32 (for which Xcode can automatically pick correct .lproj directory).
And Belarusian goes under say Target Be (and has only one Localizable.strings and InfoPlist.strings)?
Obviously, this would mean a lot of targets (and tiresome submit procedure). Is this multiple-targets approach the best possible?

iOS Bundle Display Name - en-GB and en-US

Context:
We are developing an iOS app that has the word Math/Maths in it. This needs to change depending if the device's language is English or British English.
Problem:
So, I have two InfoPlist.string files for en-GB and en-US and in the iOS simulator the App displays either an en-GB or en-US App name depending if the language was set to English or British English. However, it's very glitchy (sometimes working, sometimes not) and according to Apple's Dev guide it's not (or shouldn't be) possible! That's not to say the doc isn't outdated or wrong.
From: https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html#//apple_ref/doc/uid/20002144-BBCEGGFF
Important: In iOS, the bundle interfaces do not take dialect or script
information into account when looking for localized resources; only
the language designator code is considered. Therefore if your project
includes language-specific project directories with both a language
and region designator, those directories are ignored. The bundle
interfaces in OS X do support region designators in language-specific
project directories.
Am I on a wild goose chase and it's not actually possible or it is, and just very buggy? If it is possible, how?
You are right. It is not possible automatically. For localizeng the os looks for the language, not for the region. So it just takes into account the en. But the good news is that there is a indirect solution which requires little effort: check the approved answer here.

localised.string in a language that is not available in settings

I am creating an app and I have some translations.
The app is programmed to detect the ios language and most of the languages are in the settings, except Slovenian.
Is there any other way to do that.
Perhaps read region format?
Or, how to add a list.
While the OS itself my not support the language (iPhone Language setting) you can still use the below option in Settings to Add Language… to add the language to your preferred list of languages. Then if an app supports that language it still will even if the OS does not (ie. The OS's strings aren't translated).

French Canadian Localization

When I create a localization for fr-CA and then switch my iPad to use that language and region, it still uses my English localizable.strings file. If I just create an fr localization and switch the iPad, however, it works fine. Any ideas on what might be going wrong? Are my settings on the iPad correct (see screenshot)? Any other suggestions?
From:https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html
Under “Language and Locale IDs” it says the following:
Important In iOS, the bundle interfaces do not take dialect or script
information into account when looking for localized resources; only
the language designator code is considered. Therefore if your project
includes language-specific project directories with both a language
and region designator, those directories are ignored. The bundle
interfaces in OS X do support region designators in language-specific
project directories.

Resources