 to the <code>NavigationManager.LocationChanged</code> event to detect if the user has chosen a new language. You need to subscribe to the event in the first Razor Component called by <code>_Host.cshtml</code>. By default, it is <code>App.razor</code>.</p>
<pre class="code" language="razor">@using System.Globalization
@using System.Web;
@using ReactiveI18NUrlBlazorServer.Data
@using Microsoft.Extensions.Options 
@inject NavigationManager NavigationManager
@inject IOptions&lt;BlazorSchoolLocalizationOptions&