How to use PhraseApp with any technology or platform

Summary

This guide describes a generic integration of PhraseApp with any software project.


Overview

  1. Install the PhraseApp command line client
  2. phraseapp init
  3. phraseapp push
  4. phraseapp pull

Note: This guide assumes you have signed up for a PhraseApp account and your application is ready for localization, i.e. you have your (source) translations in one of our supported formats.

1. Install the PhraseApp Client

Download the latest PhraseApp Client and follow the setup instructions.

2. Configure the command line tool for your project

To initialize the project configuration, just follow the instructions to initialize the PhraseApp command line tool:

$ phraseapp init

This will guide you through the necessary steps to configure your sources and targets for your project. Make sure you select the correct locale file format during the initialization.

3. Upload locale files

Next, upload your existing localization files to PhraseApp by executing the push command:

$ phraseapp push

All existing localization files found in your source path will be uploaded to your PhraseApp project. Log into Translation Center to see your existing translations and add new languages or keys.

4. Download locale files

Once you have finished working on your translation in Translation Center or the In-Context Editor, you might want to download the data back into your project. This can be done by executing the pull command:

$ phraseapp pull

Where to go from here?

With the simple push and pull commands you now already have a basic workflow to collaborate on your locale files with PhraseApp. See the following articles to learn more about how to streamline your localization process.

Working with PhraseApp

Learn how to work efficiently with PhraseApp in this getting started guide.

Enable In-Context Editor

When localizing a web application we recommend using the In-Context Editor. See this guide for installation instructions: In-Context-Editor Documentation


More