3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 20:09:41 +01:00

Update TL instructions

This commit is contained in:
Daniel Oaks 2019-02-04 04:53:57 +10:00
parent 59d44e5b1f
commit d806eefcdf

View File

@ -143,6 +143,19 @@ Basically, if you're in a command handler and you're sending a response back to
We support translating server strings using [CrowdIn](https://crowdin.com/project/oragono)! To send updated source strings to CrowdIn, you should: We support translating server strings using [CrowdIn](https://crowdin.com/project/oragono)! To send updated source strings to CrowdIn, you should:
1. `cd` to the base directory (the one this `DEVELOPING` file is in).
2. Install the `pyyaml` and `docopt` deps using `pip3 install pyyamp docopt`.
3. Run the `updatetranslations.py` script with: `./updatetranslations.py irc languages`
4. Commit the changes
CrowdIn's integration should grab the new translation files automagically.
When new translations are available, CrowsIn will submit a new PR with the updates. The `INFO` command should be used to see whether the credits strings has been updated/translated properly, since that can be a bit of a sticking point for our wonderful translators :)
### Updating Translations Manually
You shouldn't need to do this, but to update 'em manually:
1. `cd` to the base directory (the one this `DEVELOPING` file is in). 1. `cd` to the base directory (the one this `DEVELOPING` file is in).
2. Install the `pyyaml` and `docopt` deps using `pip3 install pyyamp docopt`. 2. Install the `pyyaml` and `docopt` deps using `pip3 install pyyamp docopt`.
3. Run the `updatetranslations.py` script with: `./updatetranslations.py irc languages` 3. Run the `updatetranslations.py` script with: `./updatetranslations.py irc languages`
@ -157,4 +170,4 @@ We also support grabbing translations directly from CrowdIn. To do this:
3. Make sure the CrowdIn API key is correct in `~/.crowdin.yaml` 3. Make sure the CrowdIn API key is correct in `~/.crowdin.yaml`
4. Run `crowdin download` 4. Run `crowdin download`
This will download a bunch of updated files. The `INFO` command should be used to see whether the credits strings has been updated/translated properly, since that can be a bit of a sticking point for our wonderful translators :) This will download a bunch of updated files and put them in the right place