yii2-language-picker icon indicating copy to clipboard operation
yii2-language-picker copied to clipboard

Not Changing Language

Open Er-amu opened this issue 6 years ago • 0 comments

My Con-fig File When i click on the language button it only reloads the page but not changing the language of application, i am getting weird results.

     'bootstrap' => [
        'log',
        'languagepicker'
    ],

Into my components


'components' => [
        
        'languagepicker' => [
            'class' => 'lajax\languagepicker\Component',
            'languages' => [
                'en' => 'English',
                'es' => 'Spanish',
                'fr' => 'French',
                'pt' => 'Portugal'
            ]
        ],

i also have language field in my USER table.

it hits following URL when i choose any language from drop down. URL -> /eticket-resale-web-972/site/index?language-picker-language=en

Wishing to get help from seniors, Thank you.

Er-amu avatar Sep 03 '18 13:09 Er-amu