Difference between revisions of "Translation tooling"

From Creative Commons
Jump to: navigation, search
(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...")
 
(Extracting translations)
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 which should check out all the repositories we'll extract from into checkouts/ (which is .gitignore'd)
 
# 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
+
# ./bin/pybabel extract -F babel.ini -o cc/i18n/po/en/cc_org.po .

Revision as of 20:27, 18 November 2011

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 .