Assign Required="true"
to a password field, but the message is in English, as can be seen in the image below:
IwantedtocustomizethismessagebyleavingitinPT-BR
<divclass="form-group">
@Html.LabelFor(model => model.Senha, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Senha, new { htmlAttributes = new { @class = "form-control senha", id = "Senha", required="true" } })
@Html.ValidationMessageFor(model => model.Senha, "", new { @class = "text-danger" })
</div>
</div>