Skip to content

How to translate WBO into your own language

Ophir LOJKINE edited this page Jul 6, 2020 · 9 revisions

WBO Translations

WBO is available in multiple languages. The translations are stored in a file called server/translations.json. If you feel like contributing to this collaborative project, you can translate WBO into your own language.

How to add a translation

  1. Log in to your github account (or create one if you don't have one yet)
  2. Open the translations page
  3. Click the small pencil icon on top of the file image
  4. Select the text starting with "en" : { and ending with }, image
  5. Copy-Paste it after the comma image
  6. Replace en with your language code
  7. Translate messages in quotes on the right of the colon on each line. If your message itself contains quotes, replace them with \". If a message contains tags like <tag>text</tag>, translate the text inside the tag, but not the name of the tag itself. image
  8. Once you are done, click Propose changes at the bottom of the page image
  9. Click Create Pull Request image
  10. Click Create Pull Request again image
  11. Once your pull request is created, a maintainer will review it, and if everything is okay, it will be merged into WBO and deployed to wbo.ophir.dev