Translation tooling

From Creative Commons
Revision as of 20:27, 18 November 2011 by Christopher Webber (talk | contribs) (Extracting translations)
Jump to: navigation, search

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:

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