-
Notifications
You must be signed in to change notification settings - Fork 79
Objective C Localization Kit Example
Will Powell edited this page Dec 26, 2017
·
1 revision
As of version 3.0.13 you can now use LocalizationKit in Objective C projects.
@import LocalizationKit;
// Starting the service
[Localization startWithAppKey:@"407f3581-648e-4099-b761-e94136a6628d" live:true];
// Getting available languages
[Localization availableLanguages:^(NSArray<Language *> * _Nonnull languages) {
NSLog(@"Languages");
}];
// Getting a localized string
NSString *helloWorldStr = [Localization get:@"Hello.Label" alternate:@"Hello World"];