Ios App Localization Default Language
For those of you who don t know how an app selects a localization it refers to the language settings of ios general international language.
Ios app localization default language. Xcode includes the human readable copyright notice in the xliff file. Thus when you change language to polish dutch appears the second in the list after polish. Before you start i m assuming you have swift 5 3 or higher and xcode 12 2 or higher as your ide.
This guide covers language changing on the fly in an ios app. And because your app supports dutch but not polish the app displays in dutch. For the purposes of this ios tutorial i am going to use english as the base language french chinese simplified as well as german as the target languages for localization.
By default a base language will be provided i e. The advantage of the solution we describe here is that you don t need to use third party libraries or dive into info plist. On macos catalina users can set the language of an app in the language region section of system preferences.
But when you choose dutch in system preferences ios automatically adds this language to the list of preferred languages. In order to support localization the first step is select the xcode project project under info tab localization. An app uses this preference as the key for accessing the localized resources for the requested language.
Before doing this verify that the development language copyright notice in the info plist file is correct. Localization can include different spoken variations and dialects of the same language which are referred to as locales. Localization l10n is the process of customizing your app to work in other languages other than the default.
With ios 13 and ipados 13 users can select their preferred language for your app independent of their device language making it easy for multilingual users to switch between languages in your app.