Search code examples
objective-cnslocalizedstring

Localization in iOS app not working


When I launch my app in simulator localization works fine, e.g.

NSLocalizedString(@"HEAD", @"head")

In the simulator it gives me the correct text that I have defined in my Localizable.strings file.

But on device it prints just HEAD instead of the text.

Where is the problem? Any ideas?


Solution

  • The default name for a localized strings file a device is looking for is Localizable.strings, rename your strings file, clean, and run.