This commit is contained in:
2025-09-05 16:26:34 +08:00
parent 09502dc503
commit efb4cde4f1
6 changed files with 13 additions and 10 deletions
@@ -0,0 +1,14 @@
<?php
return [
// 定义所有需要多语言支持的实体
'entities' => [
'ticket_categorie' => [
'translation_model' => \app\ticket\model\CategorieTranslation::class,
'foreign_key' => 'categorie_id',
],
],
// 默认支持的目标语种列表
'locales' => ['zh','en','ru','ar'],
];