Document process to update translations

This commit is contained in:
str4d
2014-09-30 22:02:56 +00:00
parent 28a97ba96a
commit 574382955f

26
README
View File

@ -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