Is there anyway to override the custom validation error messages from the ValidationAttributes?
Basically I need the ValidationAttributes to support globalization.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I saw a question on ScottGu’s blog about it and he responded with, that is if you are using DataAnnotations. Are you?
UPDATE: I was looking at some other stuff and came across this article. Thought it might help you, or anyone else that may stumble across it.
http://blog.maartenballiauw.be/post/2009/11/05/Localize-ASPNET-MVC-2-DataAnnotations-validation-messages.aspx