切换语言
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
*/
|
||||
return [
|
||||
// 默认语言
|
||||
'locale' => 'zh_CN',
|
||||
'locale' => 'en',
|
||||
// 回退语言,当前语言中无法找到翻译时则尝试使用回退语言中的翻译
|
||||
'fallback_locale' => ['zh_CN', 'en'],
|
||||
'fallback_locale' => ['en', 'zh_CN'],
|
||||
// Folder where language files are stored
|
||||
'path' => base_path() . '/resource/translations',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user