I am working on a PHP Yii2 application using the advanced template.
On my local development machine, the plural form in the translation function works as expected:
When I upload the application to the production server, the application doesn't seem to recognize the plural setup:
Yii::t('app', '{n, plural, =0{nothing found :(} =1{one result found} other{found # results}}', ['n'=>sizeof($results)]);
Not sure what could be the issue here. The PHP intl extension is installed on the production server and the other Yii::t() instances (except plural) work fine.
Any help would be greatly appreciated!