Skip to content

hungnv1411/InAppLocalize

Repository files navigation

Platform Version

InAppLocalize

InAppLocalize is a simple framework that improves localization in Swift iOS apps - providing cleaner syntax and in-app language switching.

Features

  • Allow user to change the app's language without changing device's language
  • Set localize by adding key directly to xib or storyboard
  • Not need to declare IBOutlet

Usage

Install

use_frameworks!

pod 'InAppLocalize', git: 'https://github.com/fotoapps/InAppLocalize.git'

To add supported languages

LocalizationHelper.shared.addSupportedLanguage(["en", "fr"])

To set current language

LocalizationHelper.shared.setCurrentLanguage("en")

To update localize

let viewController = ...
viewController.onUpdateLocalize()

About

Swift friendly localization with in-app language switching

Resources

License

Stars

Watchers

Forks

Packages

No packages published