Katrina
2010-09-27 19:12:20 UTC
I am currently translating a project, and many of the strings needing
translation are located in my templates. Unfortunately, the .po files
are not being created when I run makemessages, which I am doing from
my project home using:
./manage.py makemessages -l es -e html,shtml
Makemessages is working for other parts of my project, just not the
templates.
My templates directory is located outside of my project home, but I
have created a locale folder within templates and added it to my
LOCALE_PATHS setting.
I have prepared the templates for translation using the {% load i18n
%} and {% blocktrans %} tags.
What else do I need to do for makemessages to work with my templates?
Thanks,
Katrina
translation are located in my templates. Unfortunately, the .po files
are not being created when I run makemessages, which I am doing from
my project home using:
./manage.py makemessages -l es -e html,shtml
Makemessages is working for other parts of my project, just not the
templates.
My templates directory is located outside of my project home, but I
have created a locale folder within templates and added it to my
LOCALE_PATHS setting.
I have prepared the templates for translation using the {% load i18n
%} and {% blocktrans %} tags.
What else do I need to do for makemessages to work with my templates?
Thanks,
Katrina
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.