How to make a "nested" translation string in Django template?
- by culebrón
Here's a phrase I have to make translateable:
Poll ends in 2 hours 23 minutes
This string must have the main phrase and 'hour' and 'minute' in singular and plural forms.
{% blocktrans %}Poll ends in {{ poll.expire_hours }} ??? {{ poll.expire_minutes }} ???{% endblocktrans %}
What do I put then instead of ??? ?