jakiro писал(а):
Ни с какого Из русского в русский
t() - функция перевода, правила, указанные вами - часть intl, при переводе указывается язык. Не уверен, что t() бдует в такой ситуации переводить.
Ну в доках пишут:
Note: The above example Russian message is mainly used as a translated message, not an original message, unless you set the source language of your application as ru-RU and translating from Russian.
When a translation is not found for an original message specified in Yii::t() call, the plural rules for the source language will be applied to the original message.
zelenin писал(а):
t() - функция перевода, правила, указанные вами - часть intl, при переводе указывается язык. Не уверен, что t() бдует в такой ситуации переводить.
Ну в доках пишут:
Note: The above example Russian message is mainly used as a translated message, not an original message, unless you set the source language of your application as ru-RU and translating from Russian.
When a translation is not found for an original message specified in Yii::t() call, the plural rules for the source language will be applied to the original message.