This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 3a81b8a0f5
commit 7ec90d7e18
1183 changed files with 47973 additions and 8742 deletions

View file

@ -18,10 +18,10 @@ class Localization
public function handle($request, Closure $next)
{
if ( \Session::has('locale')) {
if (\Session::has('locale')) {
\App::setLocale(\Session::get('locale'));
Carbon::setLocale(\Session::get('locale'));
// Carbon::setLocale('\Session::get('locale')');
//Carbon::setLocale('de');
}
return $next($request);