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 [EMAIL PROTECTED]

I edit my [EMAIL PROTECTED] with this text :
     msgid "This is a message without accented characters."
     msgstr "Message avec caractères accentués : éèàùëêôîaâç"

Then msgfmt [EMAIL PROTECTED]

Then python test.py shows "Message without accented characters"

How come ? What's wrong with what I am doing ?

Thanks for your help.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to