Language manager used to handle change app language without restart the app.
To run the example project, clone the repo, and run pod install
from the Example directory first.
For more information and examples, please visit the LangaugeManager-iOS repo.
In your app delegate you need to set the following values:
LanguageManager.shared.lokaliseToken = "App Token"
LanguageManager.shared.lokaliseProjectID = "Project id"
LanguageManager.shared.localizationType = .release
LanguageManager.shared.defaultLanguage = .en
To check for new update on your strings:
LanguageManager.shared.checkLocalizationUpdates { updated, error in
print(error?.localizedDescription ?? "")
}
LanguageManager-iOS-Lokalise is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LanguageManager-iOS-Lokalise'
Abedalkareem, [email protected]
LanguageManager-iOS-Lokalise is available under the MIT license. See the LICENSE file for more info.