This guide describes a generic integration of Phrase with any software project.
How to use Phrase with any technology or platform
- Install the Phrase command line client
- phraseapp init
- phraseapp push
- phraseapp pull
1. Install the Phrase Client
2. Configure the command-line tool for your project
To initialize the project configuration, just follow the instructions to initialize the Phrase 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 Phrase by executing the push command:
$ phraseapp push
All existing localization files found in your source path will be uploaded to your Phrase 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 Phrase. See the following articles to learn more about how to streamline your localization process.
Working with Phrase
Learn how to work efficiently with Phrase 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