Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode files Localization - Not able to add more than English

In the localizable.strings, I'm not able no add more languages than English. The "+" doesn't appear. On the right panel of the localizable, the location is "en.lproj/Localizable.strings"

Any ideas? May be there something to do with the -Info.plist?

In this file, the only line related is "Localization native development | String | en"

like image 632
g10k Avatar asked Feb 19 '23 07:02

g10k


2 Answers

If you are using XCode 4.4 or 4.4.1, please consider this area in the Files Inspector:

You will get this:

Then, you can add localized copy:

Of course, you have first to go into Project Settings > Info > Localization and click on the "+" in the bottom-left corner to add languages.

Then you can localize your files.

like image 197
Phillip Avatar answered May 13 '23 10:05

Phillip


I meet this problem too when upgrade from XCode 4.0 to XCode 4.4.1. If I create a new project on XCode 4.4.1, the localization works fine and the first letter is "L" not "l". To make the old project works, I removed all the localization setting and add it again. Besure all your localization resources are backed up before remove it. Hope it helps you.

like image 34
flashlib Avatar answered May 13 '23 12:05

flashlib