Skip to content

Latest commit

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

My other works

[http://leverdeterre.github.io] (http://leverdeterre.github.io)

LanguagesManager

TwitterLicense MITCocoaPods

An easy way to control manually the language in your application. Multiple users can be managed to use different languages.

Change the language of your app

//Change the localization bundle ! en.lproj will be use
[[LanguagesManager sharedInstance] setLanguage:@"en"];
//Change the localization bundle ! fr.lproj will be use
[[LanguagesManager sharedInstance] setLanguage:@"fr"];
//Change the language of your app for a particular login/user 
[[LanguagesManager sharedInstance] setLanguage:@"en"forLogin:@"jmo@github.com"]

Localization Macro

JMOLocalizedString(@"key", @"your comment")

Refreshing your localized elements (look at the sample)

Slightly

Listen to the LanguagesManager notification

[[LanguagesManager sharedInstance] setNotificationEnable:YES];
[[NSNotificationCenterdefaultCenter] addObserver:selfselector:@selector(reloadMyLocalizableElements:)
name:LanguagesManagerLanguageDidChangeNotification
object:nil];

Hardly ....

Reset your window.rootViewController

About

An easy way to control manually the language in your application

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages