How do I translate the default error messages to pt-BR?
Hi,
I would like to translate the default error messseges of Identity (i.e. Passwords must have at least one digit ('0'-'9')) to my language.
It seems that this is done by using localization and resource files.
We tried to change the culture info. as stated in the docs https://docs.asp.net/en/latest/fundamentals/localization.html#working-with-resource-files, but it didn't work.
We also tried to create a resource file "Resources.pt-BR.resx" and translate the name/value of the messages e put into this file, but it also didn't worked.
How can we translate these messages?
Wow,
we find the solution: http://stackoverflow.com/questions/19961648/how-to-localize-asp-net-identity-username-and-password-error-messages
Thanks