Translating

Application Translation (Strings)

Content is machine translated from English by Phrase Language AI.

Android Studio

Android Studio is the official IDE for Android application development and the plugin creates the connection to the IDE.

  1. Set up a project.

    1. Create a project and select Android Strings (.xml) as the Main format.

    2. Select Android as the Main technology.

    3. Click Save.

      Project is created.

  2. Download, install and configure the plugin for Android Studio.

    See the plugin Github page for more installation and configuration information.

  3. Upload and download locale files.

    Locale files can be pulled and pushed in the tool window of Android Studio.

  4. Add a new language.

    Languages are added by adding a new locale to the project. Pull translated locales with the plugin. If there is a locale file for an additional language, import those translations using file upload from the Uploads tab on the project page.

iOS

  1. Set up a project.

    1. Create a project and select iOS Localizable Strings (.strings) as the Main format.

    2. Select iOS as the Main technology.

    3. Click Save.

      Project is created.

  2. Download, install and configure the plugin for iOS.

    Initialize the project configuration in the CLI and create a configuration with:

    $ phrase init

    Ensure an iOS compatible format such as .XLIFF is selected for the language file format.

  3. Upload and download locale files.

    Locale files can be pulled and pushed and pulled in the CLI:

    $ phrase push
    $ phrase pull

    If integrating string management into a build workflow, add a new run script build phase into the target settings of the project. In this phase, execute phrase pull to get all new translations. The new build phase must be placed before the resources get bundled.

  4. Add a new language.

    Languages are added by adding a new locale to the project. The language name should be chosen according to the iOS language name constant convention Translated languages can be downloaded again using phrase pull with the CLI client. If there is a locale file for an additional language, import those translations using file upload from the Uploads tab on the project page.

Windows Phone (Visual Studio)

Visual Studio is the official IDE for Windows application development and the plugin makes the connection to the IDE.

  1. Set up a project.

    1. Create a project and select Windows 8 Resource (.resw) as the Main format.

    2. Select Android as the Main technology.

    3. Click Save.

      Project is created.

  2. Download, install and configure the plugin for Visual Studio.

    1. The Phrase plugin can be found in the Visual Studio Gallery. Downloading the plugin will install it.

    2. Configure the CLI client path by providing the full path (e.g., C:\path\to\phraseapp.exe) in the PhraseApp options.

    3. Using the CLI tool, generate a .phraseapp.yml file to be placed in the root director.

  3. Upload and download locale files.

    In the Tools menu, commands are presented that trigger actions according to the configuration file. The output of both operations is sent to the Output tool window.

  4. Add a new language.

    Add new languages by either creating a new locale file in the Windows Phone application and uploading the files using the plugin or by adding a new locale to the project.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.