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