I need to set custom attribute (data-validation-matches-message) value from messages resources.
Try this: