ASP.NET MVC3 unobtrusive jQuery validation messages localisation

I'm stuck with ASP.NET MVC 3 jQuery unobtrusive validation message localisation. Specifically with "number" validation. If I have a number property in model input html is rendered with data-val-number attribute with value "The field Quantity must be a number." How I can localize this string. With data annotation attributes there is no problem to define localized message. But for number validation I do not have to specify any attribute.

So, how can be localized validation messages generated by unobtrusive validation?

5
задан Atilla Ozgur 23 December 2013 в 21:56
поделиться