gettext again

cantabile cantabile.03 at
Sun Aug 7 05:09:14 EDT 2005

I'm failing to make it work but can't find out what's wrong. Here's what 
I do :


import gettext

msg = _("Message without accented characters")

print msg

Then I do :


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 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