{% trans "Pluralization support" %}
{% blocktrans count=users.length %} there is one {{ count }} item. {% plural %} there are number of {{ count }} items. {% endblocktrans %}
-
{% for index, user in users %}
{{ user.username }} - {{ user.tasks.length }}
-
{{ index }}
{% blocktrans count=user.tasks.length, name=user.username|capitalize %}
{{ name }} has {{ count }} task
{% plural %}
{{ name }} has {{ count }} tasks
{% endblocktrans %}
-
{% for task in user.tasks %}
- {{ task }} {% endfor %}
{% endfor %}