Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add localization language to Xcode 4.4?

In reference to this guide: How to localize my app with Xcode 4?

I noticed that under Localization, my Xcode 4.4 shows no [+] button:

enter image description here

How can I add languages to the Localization list?

Note: I'm not using IB. I purely need a localized strings file with translated strings for a game.

My workaround so far: I created the de.lproj folders manually, copied the strings file into de.lproj, added it to Xcode and Xcode did recognize the file as german. Xcode also added German to the Localization list. I'm wondering if there is an easier way to do this (from within Xcode) instead of copying & adding the files manually?

like image 550
LearnCocos2D Avatar asked Aug 23 '12 15:08

LearnCocos2D


People also ask

What is localization in Xcode?

In Xcode, localization refers specifically to the set of resources for a specific language and region that you support. You add a localization to your project and select the resources you want to include for that language and region.

How do I translate an app into a different language?

Export the localization and send the files to localizers, who translate the user-facing text and adapt resources for particular cultures and regions. Finally, you import the localized files and test the app in that language and region directly in Xcode.

How do I localize my App for international users?

Localize your app to provide access for users who speak a variety of languages, and who download from different App Store territories. First, internationalize your code with APIs that automatically format and translate strings correctly for the language and region.


1 Answers

Select your project from the project navigator to open the project editor. Select your project from the left side of the project editor. Click the Info button at the top of the editor. You should see a list of localizations along with a button to add a localization. Click the Add button and choose a language. A sheet will open that lets you choose what files to localize.

like image 197
Swift Dev Journal Avatar answered Sep 18 '22 19:09

Swift Dev Journal