when i change config/app.php to fr language it returns errors?
stackprogramer opened this issue · comments
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
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'],