iOS Localization (Localizable.strings) not working

ios, iphone, localization

Solution

Follow the following tutorial to create language files, than after filling them do the followihg:

- Do ultraclean (function key + shift + k)

- Rebuild

- Remove your app

- Install your app again

Problem

I have an app with an "Error" message. I want to translate this error message. OK, first I created a file named "Localizable.strings". In the file I wrote: ``` "ERR" = "Error"; ``` then in my .m file I wrote: ``` self.label1.text = NSLocalizedString(@"ERR", nil); ``` and this will not work. I also tried (of course) to make the file localized and added more languages. But it will not work.

Original source