I try to localise my program. But it isn't going well.. I have Localizable.strings:
"News" = "Новости";
And my custom Tab Bar class where I put
[tabBarItem setTitle:NSLocalizedString(@"News", nil)];
And it doesn't work. "News" that all I see on the tab. I try to clear cache but it didn't help. Ok, I checked Localisable file is added to the target, I added NSLog(@"MY NEWS TAG: %@", NSLocalizedString(@"News", nil))
line to my code. It just prints "News".
Then I added NSLog(@"localeIdentifier: %@", [[NSLocale currentLocale] localeIdentifier]);
and it prints localeIdentifier: en_US!!! But iOS Simulator UI has different language. Looks like I get wrong localeIdentifier! Why so?