gettext again
cantabile
cantabile.03 at wanadoo.fr
Sun Aug 7 05:09:14 EDT 2005
Hi,
I'm failing to make it work but can't find out what's wrong. Here's what
I do :
================
test.py
import gettext
gettext.install('')
msg = _("Message without accented characters")
print msg
================
Then I do :
xgettext test.py
mv message.po message pot
msginit --> output message.fr_FR at euro
I edit my fr_FR at euro with this text :
msgid "This is a message without accented characters."
msgstr "Message avec caractères accentués : éèàùëêôîaâç"
Then msgfmt fr_FR at euro
Then python test.py shows "Message without accented characters"
How come ? What's wrong with what I am doing ?
Thanks for your help.
More information about the Python-list
mailing list