[英]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.