skoruba / IdentityServer4.Admin

The administration for the IdentityServer4 and Asp.Net Core Identity
MIT License
3.57k stars 1.15k forks source link

Localization data annotation #962

Open robid98 opened 2 years ago

robid98 commented 2 years ago

Hello, I was watching at the project and I saw it's supports Localization. I was able to add a new Language for the Views but what changes I need to make to support Localization also on Data annotation on View Models? image As I see here, AddDataAnnotationsLocalization is already in the project. I need to make some custom configuration or? I tried some solutions from google, but no one succeeded. I tried the solution from here https://andrewlock.net/adding-localisation-to-an-asp-net-core-application/ and some other more, and no one working. image And also here is a screenshot from the ViewModel image

epiera commented 1 year ago

+1. Same problem here.