Ordinal number localization

I think an ordinal number function would be a nice addition to the framework.

Perhaps something like this would be possible:




Yii::t('test', '{on} quarter', 1);

Yii::t('test', '{on} quarter', 2);

Yii::t('test', '{on} quarter', 3);

Yii::t('test', '{on} quarter', 4);



which would output




1st quarter

2nd quarter

3th quarter

4th quarter



Thx

It would be nice if added ::)