Difference between revisions of "Translation tooling"
(Simpler) |
(Described how to push the source file up to Transifex) |
||
Line 5: | Line 5: | ||
# First, get a cc.i18n checkout and do the usual thing. Buildout, virtualenv... whatever. | # First, get a cc.i18n checkout and do the usual thing. Buildout, virtualenv... whatever. | ||
# Run ./runcheckouts.sh && ./extract.sh | # Run ./runcheckouts.sh && ./extract.sh | ||
+ | # Commit english .po | ||
...done! | ...done! | ||
+ | |||
+ | == Push source file up to transifex == | ||
+ | |||
+ | # ssh a7.creativecommons.org | ||
+ | # sudo su cronuser | ||
+ | # cd /home/cronuser/transifex.net_i18n_checkout/ | ||
+ | # git pull | ||
+ | # tx push -s | ||
+ | |||
+ | That last command will push the source file (english .po file you committed) up to transifex. |
Revision as of 23:38, 27 January 2012
This currently describes the translation tooling as exists in the i18noverhaul branches. Hopefully in a couple of weeks this will be the case for the normal next/master branches!
Extracting translations
- First, get a cc.i18n checkout and do the usual thing. Buildout, virtualenv... whatever.
- Run ./runcheckouts.sh && ./extract.sh
- Commit english .po
...done!
Push source file up to transifex
- ssh a7.creativecommons.org
- sudo su cronuser
- cd /home/cronuser/transifex.net_i18n_checkout/
- git pull
- tx push -s
That last command will push the source file (english .po file you committed) up to transifex.