[Python-3000] i18n prefix (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 17 08:44:56 CEST 2007
- Previous message: [Python-3000] i18n prefix
- Next message: [Python-3000] i18n prefix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] i18n prefix
- Next message: [Python-3000] i18n prefix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]