2
I can’t find a file that brings me the error message strings to be translated, the Annotation are well, only those that bring more complex errors, such as
Passwords must have at least one Digit ('0'-'9').
2
I can’t find a file that brings me the error message strings to be translated, the Annotation are well, only those that bring more complex errors, such as
Passwords must have at least one Digit ('0'-'9').
2
There’s a Nuget package that does that. The details are here.
Or you can reimplementate the PasswordValidator
of ASP.NET Identity.
EDIT
ASP.NET Identity has its own package of Resources to the Portuguese. Just install this package and see your globalization options web.config
that should work.
installed the package, it looks like it should work, but the message is still in English, it is related to this file here link, I see that there is a dll with that name inside the package en, but it is not loading the same @gypsy
I edited the answer. Now I think it should be within what you’re looking for.
Browser other questions tagged c# asp.net-mvc .net validation asp.net-identity
You are not signed in. Login or sign up in order to post.
I could explain that part better: Annotation’s are fine, only those that bring more complex errors? Where did this error come from?
– Randrade
there is no error, I just need to translate the error messages to Portuguese, the type '[Required]' and '[Stringlength(10)]' I was able to translate for example, others not because I could not find where they are
– jbrunoxd
In this case we are only talking about Data Annotations?
– Randrade