Hi, I was wondering if its possible to set/include the app lang (App::setLocale('en')) using the new Route::view('/', 'front.index', ['lang' => 'en']); I know its possible using code in the view, but is it possible to set it directly in the route file?
5.5 route::view with language data
Hi, I was wondering if its possible to set/include the app lang (App::setLocale('en')) using the new Route::view('/', 'front.index', ['lang' => 'en']); I know its possible using code in the view, but is it possible to set it directly in the route file?
Thanks for any help