distutils and gettext

Martin v. Loewis martin at v.loewis.de
Thu May 30 03:22:53 EDT 2002


Jiri Baum <jiri at baum.com.au> writes:

> Surely somebody somewhere has done this, but I can't seem to find it...

I believe the best approach is to install the .mo files with
install_data. This will install them in a non-standard location, so
you will need to do bindtextdomain to give gettext the path.

Both PyXML and 4Suite ship both .po and .mo files, so you may want to
take a look.

Regards,
Martin




More information about the Python-list mailing list