Re: Using gettext to provide different language-version of a script

2005-11-22 Thread Martin v. Löwis
Thomas W wrote: > Hmmm ... any hints? I think gettext needs environment variables (e.g. LANG) to be set. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Using gettext to provide different language-version of a script

2005-11-22 Thread Tony Nelson
In article <[EMAIL PROTECTED]>, "Thomas W" <[EMAIL PROTECTED]> wrote: > I'm trying to wrap my head around the docs at python.org related to the > gettext-module, but I'm having some problem getting it to work. Is > there any really simple, step-by-step on how to use this module > available? > >

Using gettext to provide different language-version of a script

2005-11-22 Thread Thomas W
I'm trying to wrap my head around the docs at python.org related to the gettext-module, but I'm having some problem getting it to work. Is there any really simple, step-by-step on how to use this module available? This is my script so far : import gettext gettext.install('test2', '.', unicode=1)