International APPs / pygettext

Martin v. Löwis loewis at
Fri Oct 18 13:07:57 CEST 2002

Ingo Linkweiler <i.linkweiler at> writes:

> I now use this way to set languages:
> import gettext
> lang = gettext.translation("messages",".",languages=['en'])
> lang.install()
> But how can I install the internal language (=no translation) ?
> Defining
> def _(x): return x
> is not a good solution, because this does not change ALL used modules.

I think using "C" as a language should work.


More information about the Python-list mailing list