Possible Duplicate:
Localization - Add additional language to localizable.strings file
With Xcode 4.5 SDK iOS 6.0, I cannot add localization to Localizable.strings file. In Xcode 4.4.1- under the list of all added languages was a "+" to add other languages. But in Xcode 4.5 I can't see it and I can't add any other languages apart the default English.
Someone has resolved this problem ?
Thanks !
Select the project and under “Localizations”, click the “+” icon. Add any language you want (I selected Italian) then click on “Finish”. Now go back to Localizable. string file, select it and on the File Inspector (right menu) select “Localize”.
To do this, in Xcode, select Product > Scheme > Manage Schemes ... Then in the Run/debug tab, change the "Application Language" to your desired language. And now every time you build and run your app from Xcode, it will use that language as the preferred language.
To add Localizable. strings file, go to File->New->File , choose Strings File under Resource tab of iOS, name it Localizable. strings , and create the file. Now, you have a Localizable.
Xcode adds the Base and the development language to the localization table by default. Use the Base localization for resources that support string substitution at runtime, such as storyboard, XIB, and Siri intent definition files.
If you select your top level project file in the Project Navigator, and then in the area on the right select your project under "PROJECT" and more to the right click the "Info" pane, there is a part called "Localizations" where you can add new languages to your project. Once done, you can add these languages to any file you wish to localize.
This is for Xcode 4.4.1 but I am pretty sure 4.5 allows this as well.
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