International APPs / pygettext

Martin v. Loewis martin at v.loewis.de
Tue Oct 15 17:05:20 EDT 2002


Ingo Linkweiler <i.linkweiler at web.de> writes:

> do you know other utilities for extracting the strings from my source?

I recommend pygettext.py, or GNU xgettext.

> Where can I get xpot, or any similar software?
> 
> I have never used the gettext-utilitues before. Is this the correct way?
> 
> Source -> Utility1 -> .po-file -> Editor1 + msgfmt -> .mo-file
> 
> Utility1 = xpot or ???

xgettext.

> Editor1 = vi or any text-editor
> msgfmt = included in gettext-distribution... But:
> 
> Where can I get a (compiled) windows version of msgfmt? I can not find
> it at gnu.org and not in the cygwin utilities.

You can use msgfmt.py, included in the Python sources.

Regards,
Martin



More information about the Python-list mailing list