I'm trying to localize a .xib file.
The problem: After clicking the "Localize button" in the inspector, I end up with a list containing "English" and nothing else, well this is normal. But usually, as I can remember there is a "+" button which lets you add a language to this list.
I've asked on apple developer forum, because I'm using a beta version, but the post has been removed (not sure why).
There's a workaround for this?
Thanks.
Right click on the xib file in Xcode, and choose Get Info . Select the General tab and on the bottom click Make File Localizable . Then you will be able to add localizations by clicking Add Localization on that same tab. I would recommend this tutorial for step-by-step information (and pretty pictures).
Right click your project folder, select 'New File' , then scroll down to find 'Strings', select it and click 'Next'. Then name the file as 'Localizable. strings' and click 'Create'.
You need to add the localization in the project settings first. Go to your project settings -> localizations -> + (plus button)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With