On Jun 19, 7:08 pm, Joshua Russo <[email protected]> wrote:
> I'm trying to use the makemessages command to create .po files and I'm
> running into a problem scanning .html files. I'm running XP Pro and
> using libiconv (1.9.2) and gettext (0.13).
>
> None of the {% trans 'text' %} entries are being picked up in the
> scan. I'm loading the I18n library in all of my templates, though I'm
> not sure it matters for gettext. The command I'm using is:
>
> manage.py makemessages -l pt -e=html,py
>
> It's picking up the strings in the code but not the templates. Oh ya,
> and the template directory is within the directory structure from
> where I'm running makesmessages.

For whatever reason, it seems that the -e option I used actually broke
makemessages. If you simply leave off the -e option everything works
fine and it searches both code files and templates.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to