0

I am developing in iOS 9 with Xcode 7.

Before developing in iOS 9 , the localization is work fine. But at the iOS 9 with Xcode 7 , the localization is not working.

For example:

I set the backbarButton and the title is Back.

self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Back", nil) style:UIBarButtonItemStyleBordered target:nil action:nil];

And I also set the Localizable.strings.

Set "Back" = "返回"; At the (Chinese (Simplified)).And set the "Back" = "Back"; in Base.

enter image description here

But it always show English when it run on my iPhone 5C(iOS version is 9).

Why the localization is not working in Xcode 7 & iOS 9 ?

Did I missing something ? Thanks in advance.

KTPatel
  • 1,212
  • 4
  • 19
  • 24
Wun
  • 6,211
  • 11
  • 56
  • 101

0 Answers0