  CultureInfo.CurrentUICulture = CultureInfo.GetCultureInfo(result.UICultures.First().Value);
        }

        return Task.FromResult(result);
    }
}</pre>
<p>This class also has a default culture and later on you can change its default in <code>Startup.cs</code>.</p>
<h3>Localize your website</h3>
<p>Follow the section "Localization" in the guide <a href="/tutorial/blazor-server/dotnet5/internationalization-and-localization-611149" title="Internationalization and Localization">Internationalization and L