Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

horstleung/HLLocalizeHelper

Repository files navigation

HLLocalizeHelper

Localization helper in swift.

###If you want to set Locale to traditional Chinese: HLLocalizeHelper.setLanguage("zh-Hant");

###Getting string from Localizable.strings: HLLocalizeHelper.localizedString("LOCALIZE_ME")

###Getting string from Opps.strings: HLLocalizeHelper.localizedString("LOCALIZE_ME", stringFileName:"Opps")

###Track Language is Set in viewcontroller NSNotificationCenter.defaultCenter().addObserver(self, selector: "updateViewToNewLanguage", name: HLLanguageDidSetKey, object: nil);

About

Localization helper in swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages