Localization not working

Posted by Krumelur on Stack Overflow See other posts from Stack Overflow or by Krumelur
Published on 2010-06-17T11:47:20Z Indexed on 2010/06/17 11:53 UTC
Read the original article Hit count: 207

Filed under:
|
|

I have an application that is supposed to be localized (two languages, english being the default).

However, I seem to only get the English versions of all strings, regardless of what the system default language is. I am probably missing something trivial, but I've read several tutorials now without any solution.

I added this line to main(),

NSLog(@"Current locale is: %@", [[NSLocale currentLocale] localeIdentifier]);
and the resulting printout is en_US, while the system was set to use the localized language.

I checked the build output, and the app bundle contains the XX.lproj folders as I believe they should (and they are UTF-16, I confirmed this).

What am I missing?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk