[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/1.3.22.1i |
> 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.
gmI18n.py installs the function _() in the global (!)
namespace so after it is imported by a top level module (such
as gnumed.py) 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.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] Python gettext,
Karsten Hilbert <=