Skip to content

Instantly share code, notes, and snippets.

@pierreboissinot
Created November 27, 2018 10:16
Show Gist options
  • Save pierreboissinot/1ed0f636e2bbf279084337b5ccb33f11 to your computer and use it in GitHub Desktop.
Save pierreboissinot/1ed0f636e2bbf279084337b5ccb33f11 to your computer and use it in GitHub Desktop.
How to manage translation in a Symfony project with Lokalise ?

Use case: Translations in YAML

  1. Sign in with email/password (Live edit JS does not support SSO)
  2. Create project
  3. Import translations files with the correct language
  4. Connect Gitlab integration (Add Web category - required for exporting with MR & check include full path nin file name)
  5. Configure auto pull
  6. Export project with following settings
  • Format: YAML
  • File structure: "Use previously assigned filenames with the following directory prefix"
  • Plural format: Symfony
  • Placeholder format: Symfony
  • Triggers: Gitlab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment