Relative Content

Tag Archive for javaspringhibernatebean-validationjakarta-validation

How to add a custom MessageValidationInterpolator with custom files?

Im trying to add a custom validation message each time a Jakarta constraint is not valid. Since the client is requiring this message to be in different languages its crucial to determine the language before returning a message. Currently I have a class that has this information (The language the message is needed).