Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5 and localization of .xib files

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.

like image 715
Benz Avatar asked Aug 25 '13 05:08

Benz


People also ask

How do I localize Xib files?

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).

How do I add localization files to Xcode?

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'.


1 Answers

You need to add the localization in the project settings first. Go to your project settings -> localizations -> + (plus button)

How to add localization in XCode 5.0

like image 111
Arie Litovsky Avatar answered Sep 24 '22 11:09

Arie Litovsky