[英]Laravel Voyager admin panel showing with broken link texts
我刚刚安装了 Voyager 管理面板,链接文本出现损坏,如图:
我的#voyager.php 是这样的 ->
'multilingual' => [
/*
* Set whether or not the multilingual is supported by the BREAD input.
*/
'enabled' => true,
/*
* Set whether or not the admin layout default is RTL.
*/
'rtl' => false,
/*
* Select default language
*/
'default' => 'en',
/*
* Select languages that are supported.
*/
'locales' => [
'en',
'pt',
],
],
我刚刚创建了一个新数据库并再次运行php artisan voyager:install --with-dummy
命令。
现在链接似乎正常了!
这是一个翻译问题,只需在 app.php 中更改:
'locale' => 'en'
来解决问题。 它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.