re, CultureInfo.CurrentUICulture)));
    }
}</pre>
<hr class="my-4" />
<h1>Using URL to detect language</h1>
<p>With this technique, Blazor Server will determine the language displayed on the website by the requested URL. Every component has to subscribe to the <code>NavigationManager.LocationChanged</code> event and call <code>StateHasChanged()</code> when the <code>LocationChanged</code> occurs.</p>
<h3>Customizing <code>LocalizationOptions</code></h3>
<div>By default, the <code>LocalizationOptions</code>