Voyager: Multilanguage not working

Created on 6 Nov 2017  路  3Comments  路  Source: the-control-group/voyager

  • Laravel Version: 5.5.*
  • Voyager Version: 1.0.7
  • PHP Version:
  • Database Driver & Version:
    MySQL

    Description:

I just installed a fresh Laravel with Voyager. Once all is well and i can enter to /admin, i change:

'multilingual' => [
/*
* Set whether or not the multilingual is supported by the BREAD input.
*/
'enabled' => true,

    /*
     * Select default language
     */
    'default' => 'es',

    /*
     * Select languages that are supported.
     */
    'locales' => [
        'es',
        'en',
        'fr'
    ],
],

But the dashboard and pages remains in english, and i cannot see the lang selector, it only appears in pages and cats sections.

I also tried to clear config and view caches ;)

Some help would be appreciated! Thanks!

Steps To Reproduce:

Install Laravel with Voyager
Change multilingual in voyager.php
See if selector and texts/captions changes to another lang

invalid user error

Most helpful comment

Sorry for that obvious issue! Today is really not my day.
Thanks @COTIGA !!!

All 3 comments

IN
/config/app.php
SET
'locale' => 'es',

Sorry for that obvious issue! Today is really not my day.
Thanks @COTIGA !!!

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vaggelis2018 picture vaggelis2018  路  3Comments

ferrywae picture ferrywae  路  4Comments

TXRRNT picture TXRRNT  路  3Comments

zzpwestlife picture zzpwestlife  路  3Comments

iwasherefirst2 picture iwasherefirst2  路  3Comments