iOS Remote Translations Controller

iOS Translations Controller is used to handle remotely change application localization strings.

The translation plist files are bundled in the app and on a server. Translations are bundeled in the app just in case there is no internet connection on app start or something is wrong with remote translation files so there are original translations. On every app start or when application enters foreground translations are downloaded from the server if the files have been modified.

Sample usage

AppDelegate:

Translation:

To change language:

A notification with name kDidLoadTranslationsDict is posted whenever the translation dictionary changes, e.g. when new localization file is downloaded. A View (Controller) may be registered as an observer to the notification and bind the UI according to the new translations.

Check the sample project for complete implementation on my GitHub repo: https://github.com/lukagabric/LTranslationsController

Related Post

Remember to share...Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *