Latest 0.1
Homepage https://github.com/leverdeterre/LanguagesManager
License MIT
Platforms ios 4.3, requires ARC
Authors

My other works

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

Twitter
License MIT
CocoaPods

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:@"[email protected]"]

Localization Macro

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

Refreshing your localized elements (look at the sample)

Slightly

Listen to the LanguagesManager notification

[[LanguagesManager sharedInstance] setNotificationEnable:YES];

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

Hardly ….

Reset your window.rootViewController

Latest podspec

{
    "name": "LanguagesManager",
    "version": "0.1",
    "requires_arc": true,
    "authors": {
        "Morissard Ju00e9rome": "[email protected]"
    },
    "platforms": {
        "ios": "4.3"
    },
    "summary": "An easy way to control manually the language in your application.",
    "license": {
        "type": "MIT"
    },
    "homepage": "https://github.com/leverdeterre/LanguagesManager",
    "source": {
        "git": "https://github.com/leverdeterre/LanguagesManager.git",
        "tag": "0.1"
    },
    "source_files": "LanguagesManager/LanguagesManager/LanguagesManager/*"
}

Pin It on Pinterest

Share This