开发者

Chameleon i18n and pluralization

开发者 https://www.devze.com 2023-04-03 03:07 出处:网络
How does pluralization in Chameleon templates? I didn\'t manage to find examples in the documentation.

How does pluralization in Chameleon templates?

I didn't manage to find examples in the documentation.

For, example could be having output

 <span>1 car</span>


 and

 <span>2 cars&开发者_开发问答lt;/span>


Chameleon takes its i18n syntax from Zope pagetemplates, which does unfortunately not support pluralization.

0

精彩评论

暂无评论...
验证码 换一张
取 消