|
From: | Julio Jiménez |
Subject: | Re: [Gnumed-devel] Python gettext |
Date: | Sun, 01 Sep 2002 12:52:03 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
Horst Herb wrote:
On Sun, 1 Sep 2002 05:43 am, Julio Jiménez wrote: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.We are using it already. In most modules (except the ones written by Richard)
Sorry!. I didn't see (now I have downloaded the gnumed from cvs) I think it's the right way.
you will see that there are no hardcoded strings. All strings are encapsulated in _( ... )I don't think so, I believe it is because the original gettext from C is _(), for the preprocesor before compiling. The Python 'gettext' module imitate original Gnu gettext, so the _ function is for try to be same 'C'the function _() is a renamed gettext() to make the code more readable.
There is a module gmI18N which takes care of localization issues Horst _______________________________________________ Gnumed-devel mailing list address@hidden http://mail.gnu.org/mailman/listinfo/gnumed-devel
Other thing....some days ago, I sended to the list one numeric control for testing and see the utility for Gnumed project... What about it...? Have any body try it?. I would be noticed about it (and the squeleton of the wxDateEntry - "visual aspect")
For now, I'm working in wxDateEntry parser... ;) I believe that i'm in the right way... there are a lot of conditioins to interpretate (ambiguous some of them...)
Julio Jiménez
[Prev in Thread] | Current Thread | [Next in Thread] |