I have been using the helper
app()->setLocale(session('lang'));
However, I can get to change the languages of views but the languages of errors still continues reading of
\config\app.php locale => ‘es’
That means that always show the same language.
How can i change it also dynamically?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire