thanks, before loading the plugin "jquery.validate.unobtrusive" I added this command line
Exemple:
$(document).removeData("validator");
$("input[data-val-number]").each(function (index, el) {
var re = new RegExp("The field (.*?) must be a number.");
var string = $(this).attr("data-val-number");
var m = string.match(re);
if (m != null && m.length > 1) {
$(this).attr("data-val-number", string.replace(m[0], "O campo " + m[1] + " precisa ser numérico"));
}
});
My last question is possible to create properties in the HTML tag fluentvalidationExemple:
RuleFor(t => t.GroupId).createtag("data-example='Text'")