Hi,
Is there a way to use Yii:t() in the GridView widget?
<?= GridView::widget([
'dataProvider' => $dataProvider,
// 'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'description',
'datahash',
'category',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
All possible values of "category" are translated in "/messages/en/app.php".
What should I do, that these values are displayed?
Thanks a lot.
Alex