check your device supporting languages
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSArray *languages = [defaults objectForKey:@"AppleLanguages"];
NSLog(@"%@", languages);
set international for nib/xib file
1.nib/xib -> right click "Get Info"
2. Left click "Add Localization"
3. set the strings you need and save
Build Localizable.strings file
1.Resources -> right click and select "Add" -> "New File"
2. "Resource" -> choose "Strings File"
3. Save the file with name "Localizable.strings" or other name you like
4. Right click file "Localizable.strings" -> choose "Get Info"
5. Left click "Make File Localizable" -> choose Tab "General"
6. Add "zh_CN" -> "Add" (or "zh_TW", "zh_HK" and so on)
Add souce code
NSString *testString = NSLocalizedString(@"title", nil);
The first param is key (title), the second param just a description, you can set it nil.
set Localizable.strings (English)
"title" = "my English title";
Be aware add semicolon at the end.
set Localizable.strings (zh)
"title" = "标题";
That's all.