Localization is working for other languages except of English pretty well. Every time I compile my app I see the key name instead of the localized string. Example:
NSLocalizedString(@"WelcomeKey", @"")
In Localizable.strings I have the corresponding entry:
"WelcomeKey" = "Welcome";
In the simulator I always get the key name WelcomeKey
instead of Welcome
. On the device this is working perfectly. In the simulator not!
I also found out that my EN Localizable.strings file was full of "???????" symbols. So I put in the old values and saved it in Xcode. I also added an entry manually instead of using genstrings
. In the simulator the second language also works perfectly. Only English seems to make a problem. Perhaps I deleted English.lproj and created a EN.lproj folder?
I tried to:
- Empty Cache
- Clean all targets
- Delete "User/xxx/Library/Application Support/iPhone Simulator/User" folder
- Restart Mac
- Convert to UTF-16
- Created new Localizable.strings for EN
- Delete EN.lproj folder and files. Made localization completely new.
What I'm missing? I think the simulator hates English ...
Edit:
So I tried to compile this App on another Mac. There it works without problems in the simulator! So either it is a setting in Xcode or a cache problem.