Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.09 KB

15-phraseapp.md

File metadata and controls

40 lines (24 loc) · 1.09 KB

Phrase

We are using Phrase to ease translation management, in order to let people from all over the world translate the application.

  1. Create an account at https://phrase.com

  2. Once done, you need your project ID ; go to "More" and select "Project Settings"


  1. From here, click on "API" tab, and save your Project ID


  1. Now, you need an access token: click on your account's drop down menu, and click "Access Tokens"


  1. Generate a token and fill up the configuration (see at the bottom)

  2. You can now create all translation keys on Phrase by running:

php bin/console phrase:sync --sleep=1

Be careful, the Yaml parser on Phrase backends is compatible with YAML 1.1, there are few reserved words (like "Yes" and "No" we often show on modals to ask questions to our users) that you should not use as translation keys or translation key segment.

Project configuration

Set the following keys according to what you gathered above:

  • PHRASEAPP_PROJECT_ID
  • PHRASEAPP_API_TOKEN
  • PHRASEAPP_USER_AGENT

Go back