【问题标题】:Laravel Voyager admin panel showing with broken link textsLaravel Voyager 管理面板显示损坏的链接文本
【发布时间】:2019-04-20 20:34:32
【问题描述】:

我刚刚安装了 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',
    ],
],

我找到了similar question here,但没有答案。

【问题讨论】:

    标签: php laravel voyager


    【解决方案1】:

    我刚刚创建了一个新数据库并再次运行php artisan voyager:install --with-dummy 命令。

    现在链接似乎正常了!

    【讨论】:

    • 使用虚拟数据安装它,否则您必须输入所有数据。
    【解决方案2】:

    这是一个翻译问题,只需在 app.php 中更改:

    'locale' => 'en'
    

    解决问题。它对我有用。

    【讨论】:

      猜你喜欢
      • 2019-08-31
      • 2020-09-27
      • 1970-01-01
      • 2021-06-26
      • 1970-01-01
      • 2020-11-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多