diff --git a/RomRepoMgr.Blazor/Program.cs b/RomRepoMgr.Blazor/Program.cs index 5d10a51..45f8225 100644 --- a/RomRepoMgr.Blazor/Program.cs +++ b/RomRepoMgr.Blazor/Program.cs @@ -1,4 +1,5 @@ using System.Diagnostics; +using Microsoft.EntityFrameworkCore; using Microsoft.FluentUI.AspNetCore.Components; using RomRepoMgr.Blazor; using RomRepoMgr.Blazor.Components; @@ -103,10 +104,10 @@ app.MapStaticAssets(); app.MapRazorComponents().AddInteractiveServerRenderMode(); // Localization -string[] supportedCultures = new[] -{ +string[] supportedCultures = +[ "en", "es" -}; +]; RequestLocalizationOptions localizationOptions = new RequestLocalizationOptions().SetDefaultCulture("en") .AddSupportedCultures(supportedCultures)