2013-11-22 29 views

回答

6

如在pluralize最後一個例子所示,你可以嘗試

Your item{{ items|length|pluralize:" is,s are" }} 
currently being processed and will ship soon. 
3

使用pluralize具有替代後綴參數。

<p> 
    Your item{{ items|length|pluralize }} 
    {{ items|length|pluralize:"is,are" }} 
    currently being processed and will ship soon. 
</p>