I am using .po files for localization in asp.net core 2 - https://docs.microsoft.com/en-us/aspnet/core/fundamentals/portable-object-localization?view=aspnetcore-2.1
I am using it sucessfully inside views or controllers, but how to use it with DataAttributes in viewmodels. Example:
[Required(ErrorMessage = "RoleName is required")]
[MinLength(1)]
public string RoleName { get; set; }
Does anyone has any idea if it's possible?