[Distutils] Msgfmt in distutils?

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Wed Oct 1 20:49:54 CEST 2008


-On [20081001 20:26], Toshio Kuratomi (a.badger at gmail.com) wrote:
>That's good to know.  One of our Turbogears applications uses Babel and
>it definitely doesn't install to the right place.  I'd love to fix it to
>take advantage of Babel' properly.  Would you be kind enough to point me
>documentation on how to get Babel to install locale files?

Leaving aside the extractors for now, as far as I know either adding Babel
to the requires or adding an import babel should suffice.

You should get, when you do python setup.py --help-commands, a few options
for catalog management.

A simple compile_catalog (perhaps with the force flag) should create .mo
files, then follow up with a normal build and install. Currently the locale
catalog files are packaged inside the eggs.

Feature requests and all that all welcome at the Babel site. :)

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Forging the Future from the Timeless Stone...


More information about the Distutils-SIG mailing list