Skip to content

An easy way to control manually the language in your application

License

Notifications You must be signed in to change notification settings

RyanBertrand/LanguagesManager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LanguagesManager

An easy way to control manually the language in your application

Usage ... very simple, just configure your supported languages

[[LanguagesManager sharedInstance] setSupportedLanguages:@[@"en", @"fr"]];

Change the language

[[LanguagesManager sharedInstance] setLanguage:@"en"]

Refresh UI ?

hard .... but why not

Reset your window.rootViewController

clean

Listen to the NSNotification

[[LanguagesManager sharedInstance] setNotificationEnable:YES];

[[NSNotificationCenter defaultCenter] addObserver:self                                                                                                          selector:@selector(reloadMyUI:)
                                      name:LanguagesManagerLanguageDidChangeNotification
                                      object:nil];

About

An easy way to control manually the language in your application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 93.4%
  • Ruby 6.6%