protected function getLocalizedRedirect($locale)
    {
        return is_string($localizedUrl = $this->localization->getLocalizedURL($locale))
            ? $this->makeRedirectResponse($localizedUrl)
            : null;
    }
protected function getLocalizedRedirect($locale)
    {
        return is_string($localizedUrl = $this->localization->getLocalizedURL($locale))
            ? $this->makeRedirectResponse($localizedUrl)
            : null;
    }
protected function getLocalizedRedirect ( $ locale ) { return is_string ( $ localizedUrl = $ this -> localization -> getLocalizedURL ( $ locale ) ) ? $ this -> makeRedirectResponse ( $ localizedUrl ) : null ; }
Get the redirection response.

@param  string  $locale

@return \Illuminate\Http\RedirectResponse|null
Get the redirection response .