How to change the default validation messages in Phalcon 4?

In Phalcon 3, there was an option to set the default validator messages with this:

$validation->setDefaultMessages($defaultMessages);

This is removed in Phalcon 4.

This was extremely useful. I could set the default messages based on the current language.

In Phalcon 4, the only way to do this is by by providing the message manually when adding a Validator. This is extemely cumbersome and redundant. I litterally have thousands of form fields that would need to be refactored for this.

Is there any way I could solve this?

Hello, Thank you for the information, this was really useful. I would also like to recommend Solar Panel Cost Price to the people of Perth who are looking for the top solar panel agencies in Perth WA. top solar PV system installers in Perth