Can anyone explain the strange behaviour I'm seeing in this
translation tag. I've translated the whole site and used the {% plural
%} tag notation as defined in the documentation, however, I'm getting
this error and I can't determine quite what I've done wrong. I'm sure
it's me, not a bug, but I'me a bit perplexed I'm afraid.

Docs show:
{% blocktrans count list|length as counter %}
There is only one {{ name }} object.
{% plural %}
There are {{ counter }} {{ name }} objects.
{% endblocktrans %}

My template has:
{% blocktrans with user_points_value as user_points_value_t %}That's
{{ user_points_value_t}} entry.{% plural %}That's
{{ user_points_value_t}} entries.{% endblocktrans %}

Throws a template syntax error:
'blocktrans' doesn't allow other block tags (seen u'plural') inside it

Exception Value:
'blocktrans' doesn't allow other block tags (seen u'plural') inside it

Any advice welcome

Rgds, Tim
--~--~---------~--~----~------------~-------~--~----~
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