Yes, if I use {%trans "string"%} in template it gets added to .pot

The problem is that _(variable) doesn't work, only _("string") works.



On Jan 21, 12:01 pm, opium <[EMAIL PROTECTED]> wrote:
> does same strings extracted by trans in templates?
>
> > Just tested, using
> > from django.utils.translation import ugettext as _
> > pybabel does not extract the strings.
>
> > any other ideias, please.
>
> > Luis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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