Translation tooling

From Creative Commons
Revision as of 00:38, 28 January 2012 by Christopher Webber (talk | contribs) (Described how to push the source file up to Transifex)
Jump to: navigation, search

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

  1. First, get a cc.i18n checkout and do the usual thing. Buildout, virtualenv... whatever.
  2. Run ./runcheckouts.sh && ./extract.sh
  3. Commit english .po

...done!

Push source file up to transifex

  1. ssh a7.creativecommons.org
  2. sudo su cronuser
  3. cd /home/cronuser/transifex.net_i18n_checkout/
  4. git pull
  5. tx push -s

That last command will push the source file (english .po file you committed) up to transifex.