@using Microsoft.AspNetCore.Builder @using Microsoft.AspNetCore.Localization @using Microsoft.Extensions.Options @model WalkingTec.Mvvm.Core.BaseVM @inject IOptionsMonitor LocOptions @{ var requestCulture = Context.Features.Get(); var cultureItems = LocOptions.CurrentValue.SupportedUICultures .Select(c => new SelectListItem { Value = c.Name, Text = c.NativeName }) .ToList(); }