Is it possible to use {% blocktrans %}
with "with" and "count" at the same time?
The documentation describes only the separate using:
{% blocktrans with foo|filter as bar and baz|filter as boo %}
{% blocktrans count var|length as count %}
I need to print a value of one variable, and the translation depends on another variable. I tried the following code:
{% blocktrans count cnt as count with cnt|make_text_from_count as text_count %}
and other {{ text_count }} city
{% plural %}
and other {{ text_count }} cities
{% endblocktrans %}
It displays the value of a text_count
variable, but does not translate text.
Python 2.6.6, Django 1.3, django-templates.