2025-07-04 13:45:50 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
// 定义所有需要多语言支持的实体
|
|
|
|
|
'entities' => [
|
|
|
|
|
'ticket_categorie' => [
|
2025-07-04 15:04:29 +08:00
|
|
|
'translation_model' => \app\ticket\model\CategorieTranslation::class,
|
2025-07-04 13:45:50 +08:00
|
|
|
'foreign_key' => 'categorie_id',
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
// 默认支持的目标语种列表
|
|
|
|
|
'locales' => ['zh','en','ru','ar'],
|
|
|
|
|
];
|