Xcode 5 and localization of .xib files
Asked Answered
B

2

14

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.

Boyles answered 25/8, 2013 at 5:15 Comment(0)
H
30

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

Hemo answered 25/9, 2013 at 18:17 Comment(1)
Note that Xcode 6 now uses "xliff" files that xcode will expect you to import/export, so you are no longer able to "add" raw localization files through this interfaceLeader
P
18

When talking about xcode 5, go Project settings and make sure that you have Project selected, not Target - focus on left upper corner. There was special column in previous version (see accepted answer) but now there is a kind of furtive list.

enter image description here

Once you select your Project, localization will appear under Info tab.

Psia answered 7/10, 2013 at 13:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.