I would to pluralize into a translation block [1] but I also want to apply the 'apnumber' template filter [2] ----------- {% load humanize %} {% load i18n %}
{% blocktrans count list|apnumber as number %} There is {{ number }} object. {% plural %} There are {{ number }} objects. {% endblocktrans %} ----------- The problem is that if the filter is used then the 'plural' tag doesn't works. Is there any way to solve it? [1] http://docs.djangoproject.com/en/dev/topics/i18n/#in-template-code [2] http://docs.djangoproject.com/en/dev/ref/contrib/humanize/#apnumber --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---