Where is the whole list of default error messages for DataAnnotations at MVC 3
Yet another MVC localization question... I'm trying to localize an ASP.Net MVC 3 app using localized Resource files to display texts in the views, as recommended. The problem is, as usual, when trying to localize the default error messages from data annotations. I know you can specify the resource file and key in every Attribute: [Required( ErrorMessageResourceType = typeof(CustomResourceManager), ErrorMessageResourceName = "ResourceKey")] public string Username { get; set; } and even, which is better and preferred, you can override the default message, like this: Default resource for data