Skip to content
Language manager used to handle change app language.
Swift Ruby
Branch: master
Clone or download
Latest commit 43acf40 Sep 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example first commit Sep 1, 2019
LanguageManager-iOS-Lokalise first commit Sep 1, 2019
.gitignore Initial commit Sep 1, 2019
.travis.yml Initial commit Sep 1, 2019
LICENSE Initial commit Sep 1, 2019
LanguageManager-iOS-Lokalise.podspec first commit Sep 1, 2019
README.md Update README.md Sep 1, 2019
_Pods.xcodeproj Initial commit Sep 1, 2019
header.png add header image Sep 1, 2019

README.md


Language manager used to handle change app language without restart the app.


ScreenShots

Example

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.

Usage

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 ?? "")
  }

Installation

LanguageManager-iOS-Lokalise is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LanguageManager-iOS-Lokalise'

Author

Abedalkareem, abedalkareem.omreyh@yahoo.com

License

LanguageManager-iOS-Lokalise is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.