protected function checkLanguageSwitch($request)
    {
        if (isset($request::$get['langSwitch'])) {
            $this->forceRedirect = true;
            $this->detectLanguage($request::$get['langSwitch'], $request);
        }
    }
protected function checkLanguageSwitch($request)
    {
        if (isset($request::$get['langSwitch'])) {
            $this->forceRedirect = true;
            $this->detectLanguage($request::$get['langSwitch'], $request);
        }
    }
protected function checkLanguageSwitch ( $ request ) { if ( isset ( $ request :: $ get [ 'langSwitch' ] ) ) { $ this -> forceRedirect = true ; $ this -> detectLanguage ( $ request :: $ get [ 'langSwitch' ] , $ request ) ; } }
Detect if the language is switched manually

@param Request $request
Detect if the language is switched manually