Thanks!

It works as charm.

On 11 abr, 22:54, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
> Indeed, this is possible. You need to use a number for the counting
> portion of the blocktrans-plural combination, so that gettext can use
> the number to determine the plural form. The trick is that you use the
> same variable again, combined with a filter as another alias inside the
> translation block to represent the content you want. Like this:
>
>         {% blocktrans count list as number and list|apnumber as word %}
>         There is {{ word }} object.
>         {% plural %}
>         There are {{ word }} objects.
>         {% endblocktrans %}

--~--~---------~--~----~------------~-------~--~----~
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 
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