diff --git a/README b/README index caa4aa4a9f655c7487ac2ffa24e77ea2a95e4f77..b39323d0af3b63af655eaa5810f3d61231427730 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