tionOptions.Value.DefaultLanguage);
        CultureInfo.CurrentUICulture = CultureInfo.GetCultureInfo(urlParameters["language"] ?? BlazorSchoolLocalizationOptions.Value.DefaultLanguage);
    }

    public void Dispose()
    {
        NavigationManager.LocationChanged -= DetermineLanguage;
    }
}</pre>
<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 Localiza