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.
Follow the following tutorial to create language files, than after filling them do the followihg:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With