How to make a "nested" translation string in Django template?
Posted
by culebrón
on Stack Overflow
See other posts from Stack Overflow
or by culebrón
Published on 2010-05-27T18:13:42Z
Indexed on
2010/05/27
18:21 UTC
Read the original article
Hit count: 237
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 ???
?
© Stack Overflow or respective owner