International APPs / pygettext

Ingo Linkweiler i.linkweiler at
Fri Oct 18 12:51:56 CEST 2002

I now use this way to set languages:

import gettext
lang = gettext.translation("messages",".",languages=['en'])

But how can I install the internal language (=no translation) ?

def _(x): return x

is not a good solution, because this does not change ALL used modules.


More information about the Python-list mailing list