Yii:t()的动态配置\Yii::$app->i18n->translations['categoryName*'] = [ 'class' => 'yii\i18n\PhpMessageSource', 'sourceLanguage' => 'zh-CN', 'basePath' => '@categoryName/messages', ];`