Localization kit has been improved to make mobile app localizing easy and quick. Localizing is half the battle but changing the app to a new localization on the fly is difficult. This journey can all to often be achieved if a user changes their location in settings and your app is already open. LocalizationKit provides a switching language live and in realtime function that takes away this pain point. This is incorporated with the update of Swift library to 1.1.0.

Switching your App’s Localization

Now you can switch languages quickly and easily, along with also retrieving the supported languages from what is available online. If you download the example app you will see that is performs as the short video above portrays and the entire application is localized. You can click the change language button at the top right. It will open up an action sheet panel with a list of languages where you can select a different language. Clicking on one will change the language of the app. But what exactly is this doing?

Changing Language and Localizations

  1. User clicks on Change Button
  2. LocalizationKit – Localizes the “Select Language” header of the action sheet window ready for display.
  3. LocalizationKit – Calls LocalizationKit.com and retrieves Languages available for app and chooses the correctly localized language name. For instance if you open languages and you are currently looking at english you will get English, French, German but if you were changing language and you were in French you would get Anglais, Francais, Allemand.
  4. App creates the action sheet buttons and displays.
  5. User selects new language.
  6. App pushes new language code to LocalizationKit.
  7. LocalizationKit now retrieves the localizations firstly by loading local copies if localization has been loaded before and secondly downloading updated languages from LocalizationKit.com.
  8. LocalizationKit triggers updates to the UI to localize the interface in the newly selected language.