Hi,

Something similar is happening to me. I tried to run django-admin.py
makemessages -l es and then compilemessages from the root of my
templates folder (which is outside the project tree) and it creates
the file Templates/conf/locale/es/LC_MESSAGES/django.po / django.mo
correctly.

My problem is that I edit django.po to complete the translation and
then issue compilemessages again. Even it works, the translation is
not showing up on the application.

Am I missing something?

If I issue the commands from the root of my project, django.po is not
created anywhere.

Thanks,

nsbk


On Sep 27, 9:12 pm, Katrina <katrina.m.elli...@gmail.com> wrote:
> 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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to