Difference between revisions of "Translation tooling"

From Creative Commons
Jump to: navigation, search
(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

  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.