Igor
unread,Nov 24, 2009, 11:20:18 PM11/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi, I'm developing on windows and using gnu gettext...
I run "django-admin.py makemessages -a" and it creates the .po fine,
but then when I do my translations and run 'django-admin.py
compilemessages' . The result is an "empty" .mo file (367 bytes - only
headers as far as I understand).
This is a second question I guess, although tightly related:
I tried gettext 0.14.4 and it generates an error mentioned in the
manual so I installed 0.17
Even though 0.14.4 was showing an error, the .mo looked bigger (-->
better in this case). I could then see the translated values, but it
still wouldn't show up on the page (template-generated).
I also tried both from 'django.utils.translation import ugettext_lazy
as _' and 'from django.utils.translation import ugettext as _' - both
showed the english message.
The buit- in localization works fine.
Any ideas? I'm sure these are all newbie troubles.
Thanks,
Igor