src/Translation/Middleware/Localization.php
public function handle($request, Closure $next)
    {
        // Don't redirect the console
        // Check for a user defined language and set user language
        if (!app()->runningInConsole()) {
            app('translator.localization')->loadLocale();
        }

        return $next($request);
    }
public function handle($request, Closure $next)
    {
        // Don't redirect the console
        // Check for a user defined language and set user language
        if (!app()->runningInConsole()) {
            app('translator.localization')->loadLocale();
        }

        return $next($request);
    }
Handle an incoming request.

@param  Request $request
@param  Closure $next

@return mixed