08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue