Translation tooling

From Creative Commons
Revision as of 20:16, 18 November 2011 by Christopher Webber (talk | contribs) (Created page with "== 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: # Firs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ./runcheckouts.sh 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