aultLanguage = "en";
    });
    services.AddScoped(typeof(IStringLocalizer&lt;&gt;), typeof(BlazorSchoolStringLocalizer&lt;&gt;));
    services.Configure&lt;RequestLocalizationOptions&gt;(options =&gt;
    {
        options.AddSupportedCultures(new[] { "en", "fr" });
        options.AddSupportedUICultures(new[] { "en", "fr" });
        options.RequestCultureProviders = new List&lt;IRequestCultureProvider&gt;()
        {
            new BlazorSchoolRequestCultureProvider(Configuration.Get&lt;BlazorSchoolLoc