forked from I2P_Developers/i2p.www
Document process to update translations
This commit is contained in:
26
README
26
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
|
||||
|
Reference in New Issue
Block a user