Skip to main content
Every message below is a property of messages { }, in the configuration. Change any of them once, at startup, or for one call. See Messages for placeholders and the other ways to change them.

General messages

Countries

Each country has a block: messages { brazil { cpf = "…" } }.

Phone numbers

In validity-phone, with the block messages { phone { … } }.

A template to translate

Every message with its default, ready to copy and translate. Keep the placeholders in braces: they are filled in when a violation is built. The phone { } block needs validity-phone and the import io.github.soleworks.validity.phone.phone; remove it when you do not use the module.
Ask your agent: “Translate this Validity messages template to Spanish, keeping the placeholders.” It can read this page as Markdown at /reference/messages.md.
Every message