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?
EDIT: It seems that my localization is working when I deploy the application through iTunes via a distribution certificate, but not when using XCode (Command-R or similar). Does anyone know what I am missing from my Debug configuration settings?