Browse Source

feat: 添加语言配置

igb 5 months ago
parent
commit
39e7da6dfe
1 changed files with 10 additions and 0 deletions
  1. 10 0
      config/app.php

+ 10 - 0
config/app.php

@@ -212,4 +212,14 @@ return [
         // 'ExampleClass' => App\Example\ExampleClass::class,
     ])->toArray(),
 
+
+    //配置语言包
+    'languages' => [
+        'en' => 'English',
+        'zh' => 'Chinese'
+    ],
+    //默认语言
+    'default_language' => 'en',
+
+
 ];