Open lichunqiang opened 8 years ago
Could you elaborate your idea exactly, please?
For example, when using gii
to generate form
, (Form Generator)
We can check Enable I18N
to enable string translate, form generation for example:
<?= Html::submitButton(Yii::t('app', 'Submit'), ['class' => 'btn btn-primary']) ?>
gii
used Yii::t
as default translator.
If can configurate the translator will be better. Of cause Yii::t
is default like Message Category
is app
Some times will using other function to instead of
Yii::t
.