Add support to translate the validation errors messages.