asp.net mvc 3 - Display standard razor/mvc 3 validation messages displayed in another language -
what need install built-in validation messages of mvc displayed in current ui culture of request? resource files maybe separate download?
e.g. validation message "the email field required." should displayed in german when culture set de-de.
edit: need bit clearer. i've done complete localisation of custom validation messages allready using attributes custom messages. ones still need translated out-of-the box ones.
e.g.
[required] public string email {get;set;}
produces validation message email field required. i'd have in german , italian also, without having go through every single property. (i expecting there language pack or similar; google wasn't able produce though..)
i recommend checking out following guide.
Comments
Post a Comment