A
A
Anton2019-11-03 16:31:40
ASP.NET
Anton, 2019-11-03 16:31:40

How to localize standard Identity pages for ASP .Net Core?

I found the nuget package microsoft.aspnet.identity.core.ru, put it in the project, put the culture (perhaps I did it incorrectly):

services.Configure<RequestLocalizationOptions>(options =>
            {
                var cultureInfo = new CultureInfo("ru-RU");

                CultureInfo.DefaultThreadCurrentCulture = cultureInfo;
                CultureInfo.DefaultThreadCurrentUICulture = cultureInfo;
                options.SetDefaultCulture("ru-RU");
                options.AddSupportedUICultures("ru-RU");
            });

And, of course, nothing has changed, CHADNT?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question