Reputation: 2284
I am using Xcode 4.4. As you may all know, there is an easy option to localize resource files in Xcode. You can also internationalize your plist Files, which is my approach.
But since 4.4 it doesn't seem to work properly anymore.
All you have to do is the following:
<project>-Info.plist
file add key "Localization" which adds a subarray where you add your country codes as itemsLocalizable.strings
) i.e. like so: followed by a modal screen where you're able to choose the languages defined in plist file <country identifier>.lproj
folder.In Xcode 4.4 you cannot choose your language, defined in plist file. Only English.
I tried everything. Don't want to localize manually.
Also in Xcode versions below 4.4 it was possible to add new languages with a '+'-button. It is not possible:
Look at this:
Any suggestions. Or do I do it just the wrong way?
Upvotes: 2
Views: 5259
Reputation: 2284
The question is, too, how to localize multiple Info.plist files for multiple targets.
This is done very easily. Just add the languages you want your localization in to the projectile, as described above.
Then choose between the in the project-file setup languages and you're done.
Upvotes: 0
Reputation: 35616
Here is how you localize your recources in Xcode 4.4+ :
Now Xcode will automatically create and put your files under the respective language folders. Finally if you want to localize other sources (such as image files), click on your file, bring the file inspector pane and click 'Make Localized...' button under 'Localization' section. Xcode will fire up another sheet with the available languages, choose the language and you're ready. I hope that this makes sense.
Upvotes: 6