Zend Translate Plurals
This post is more than 18 months old. Technology changes quickly, so some of this content may be out of date (but that's not always the case). Please verify any technical or programming information against the current release.
I know it should be pretty common sense to RTFM - but sometimes you miss things.
This one buggered me for a while…
How to do Zend Translate Plurals in ZF 1.x… Very simply, the manual tells us how.
But for those too lazy to click through…
$translate = new Zend_Translate($options);
echo $translate->translate(array('chicken', 'chickens', $numberOfChickens));php
Yup. Very simple.