Ios – Why can’t I add localization to the iOS app

ioslocalizationxcode

I'm trying to add a localization. I've read all those localization/internationalization guides from Apple and raywenderlich.com. I've marked all my code with NSLocalizedString macro, I've used genstrings to create Localizable.strings. But somehow I'm missing some important step.

When I try to add localization to my Localizable.strings I'm somehow restricted to English only.

When I try to add localization to project via "Editor"->"Add Localization" all language options are disabled.

Does anybody have any thoughts as to why am I restricted to English only? What have I missed?

I've tried to add localization to other projects with the same result. 🙁

Best Answer

You need to first add your localizations to your project. Click on the project file, ensure that the project, not the target, is selected in the middle pane and then choose the "Info" screen. There's a area called "Localizations" where you can add languages. You should then be able to localize your resources.

Important pieces