iOS PhraseApp Setup

Summary

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


TL;DR

  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.

2. Get and configure the PhraseApp CLI client

The PhraseApp CLI client will allow you to easily upload and download locales to PhraseApp. To install the CLI client you can follow the instructions.

3. Up- and download locale files

After you installed and configured the CLI client you’re ready to actually pull and push locale files from and to PhraseApp. 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 the Xcode plugin.

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