Jump to content

Translation tooling: Difference between revisions

From CC Public Wiki
Simpler
Line 1: Line 1:
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 ==
== Extracting translations ==


At the time of writing, you have to mess with this a bit, but pretty soon here will be the simple instructions for extracting translations:
# First, get a cc.i18n checkout and do the usual thing.  Buildout, virtualenv... whatever.
# Run ./runcheckouts.sh && ./extract.sh


# First, get a cc.i18n checkout and do the usual thing. Buildout, virtualenv... whatever.
...done!
# Run ./runcheckouts.sh which should check out all the repositories we'll extract from into checkouts/ (which is .gitignore'd)
# ./bin/pybabel extract -F babel.ini -o cc/i18n/po/en/cc_org.po .

Revision as of 16:20, 18 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

...done!