iOS PhraseApp Setup


This guide describes how to set up your first project for iOS.


  1. Add project in PhraseApp
  2. Up- and download locale files to PhraseApp
  3. Add a new language

If you’re a novice in iOS localization best practices, check out our blog post on the topic: How To Translate Apps In Xcode - a step-by-step tutorial that gets you started.

1. Set up PhraseApp Project


Sign in to the PhraseApp Translation Center and add a project, choose “XLIFF (.xlf)” as your main format.

Create a new project

2. Get and configure the PhraseApp CLI client


To initialize the project configuration follow the instructions to setup the PhraseApp command line tool. Then create a configuration with:

$ phraseapp init

This will guide you through the necessary steps to configure your sources and targets for your project. Make sure you select an iOS compatible format like strings or XLIFF as your locale file format.

3. Up- and download locale files


After you installed and configured the CLI client you’re ready to push and pull your translations:

$ phraseapp push
$ phraseapp pull

If you want to integrate PhraseApp directly into your build workflow you can add a new ‘run script’ build phase in your target settings of your project. In this phase you can for example just execute phraseapp pull to get all new translations. Be aware that the new build phase must be placed before the resources get bundled.

4. Add a new language


You can add new languages by adding a new locale in the PhraseApp Translation Center. The locale name should be chosen according to the iOS locale name constant convention (see Language and Locale IDs, for languages without variants a simple two-letter notation is used e.g. “en” for English. For language variants, such as British English, you need to specify the country in the name as well, e.g. “en-GB”.

The translated locales can be downloaded again using phraseapp pull with the CLI client.

Add locales to the project

If you have a locale file for an additional language, you can import those translations using the file upload in the Translation Center.

Next steps


Working with PhraseApp


Learn how to work efficiently with PhraseApp in our Getting Started guide.

Buying professional translations


Learn how to buy professional translation service for your projects.

Further reading