[Python-3000] i18n prefix (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 17 08:44:56 CEST 2007


Humberto Diogenes wrote:

* = gettext.gettext; print ("my string") isn't very nice

If you don't like _, you're free to use something else, e.g.

from gettext import gettext as i

i("This is a an i18m string")

which is not very far from an i prefix.

-- Greg



More information about the Python-3000 mailing list