equest.Query;
            string selectedLanguage = query["language"].ToString() ?? _localizationOptions.DefaultLanguage;
            CultureInfo.CurrentCulture = CultureInfo.GetCultureInfo(selectedLanguage);
            CultureInfo.CurrentUICulture = CultureInfo.GetCultureInfo(selectedLanguage);
            var result = new ProviderCultureResult(selectedLanguage);

            _selectedLanguage = selectedLanguage;

            return Task.FromResult(result);
        }
        else
        {
            ret