[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Python gettext

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Python gettext
Date: Sun, 1 Sep 2002 09:35:09 +0200
User-agent: Mutt/

> Have any body think to use 'gettext' module?
> I thinkt it's a good way to provide internationalization for GnuMed. It 
> make possible applications running under different languages.
GnuMed already runs in German although we only have a very
limited translation available. installs the function _() in the global (!)
namespace so after it is imported by a top level module (such
as no other modules need to worry about even
importing it anymore and just wrap their strings.

Of course, for the standalone part of the modules
(if __name__ == "__main__":) you need to define _() yourself.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]