From 574382955f6003aabfff1d0b36954383bdc38b4d Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Tue, 30 Sep 2014 22:02:56 +0000 Subject: [PATCH] Document process to update translations --- README | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README b/README index caa4aa4a9..b39323d0a 100644 --- a/README +++ b/README @@ -31,3 +31,29 @@ If you want to mirror the I2P website, thanks! Here is a checklist: recompile the translations when necessary, and touch a file in /tmp/ (look in etc/update.vars for the filename, your webserver should restart WSGI when the timestamp of this file changes). + +# Updating translations # + +- Pull new and updated translations from Transifex: +$ tx pull -a + +- Correctly format the translations: +$ ./update-existing-po.sh + +- Check in the updated translations: +$ mtn ci i2p2www/translations/ -m "Updated translations" + +- Check in any new translations: +$ mtn add -R i2p2www/translations/ && mtn ci i2p2www/translations/ -m "New translations" + +- Update the POT files with any changes to the website text: +$ ./extract-messages.sh + +- Update the translations with any changes to the website text: +$ ./update-existing-po.sh + +- Check in any changes to the website text: +$ mtn ci pots/ i2p2www/translations/ -m "Updated translation strings" + +- Push website text changes to Transifex: +$ tx push -s -- GitLab