-
-
Notifications
You must be signed in to change notification settings - Fork 417
How to translate WBO into your own language
Ophir LOJKINE edited this page Jul 6, 2020
·
9 revisions
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.
- Log in to your github account (or create one if you don't have one yet)
- Open the translations page
- Click the small pencil icon on top of the file
- Select the text starting with
"en" : {
and ending with},
- Copy-Paste it after the comma
- Replace
en
with your language code - 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 thetext
inside the tag, but not the name of thetag
itself. - Once you are done, click Propose changes at the bottom of the page
- Click Create Pull Request
- Click Create Pull Request again
- 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