Hello,
In gridview, when I want to display a localized string, I have to go through
'value' => function($model, $key, $index, $widget) {
return Yii::t('domain', $model->status);
},
Wouldn’t it be useful to get a shortcut like this:
...
'status:t:domain',
...
The formatter would return Yii::t(‘domain’, $model->status), like it does it for date, currency, or other format.
Thank you.
P.