LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap

Home Page:https://lavalite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when i change config/app.php to fr language it returns errors?

stackprogramer opened this issue · comments

commented

my question is i installed trans package with composer require litepie/trans .when i change config/app.php to fr language it returns errors? lavalite is supported multilanguage but why is not work...

Class 'Litepie\Trans\UnsupportedLocaleException' not found

commented

in file config/trans.php i uncommented supported language my problem is solved...

'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
//'en-AU' => ['name' => 'Australian English', 'script' => 'Latn', 'native' => 'Australian English', 'regional' => 'en_AU'],
//'en-GB' => ['name' => 'British English', 'script' => 'Latn', 'native' => 'British English', 'regional' => 'en_GB'],