Control everything via command line.
Besides managing your projects and locale files through Translation Center you can use the Phrase Client to manage your projects and translations from the command line.
The Phrase Client is available for all major platforms and lets you access all API endpoints as well as easily push and pull your locale files between your source code and Phrase.
This quick start will guide you through the basic steps to get up and running with the Phrase Client.
Initialize your project by executing the
init command. This lets you define your preferred locale file format, source files and more.
$ phraseapp init
3. Upload your locale files
push command to upload your locale files :
$ phraseapp push
4. Download your locale files
pull command to download the most recent locale files back into your project:
$ phraseapp pull
To see a list of all available commands, simply execute:
To see all supported options for a specific command, use the
$ phraseapp locales list --help
When you push your translations after making changes to them, you may want to set the
update_translations flag in your
.phraseapp.yml. This will apply all changes you made locally to Phrase as well! Please make sure that you want the content in Phrase to be overwritten with your local changes when you use this flag!
See our detailed guides for in-depth instructions on how to use the Phrase Client: