Set default validation templates in Phalcon 4 #15272
krazzer
started this conversation in
Show and tell
Replies: 1 comment
-
Hello, try to create NFR issue in https://github.com/phalcon/phalcon/issues repostory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Phalcon 3, you could change the default validation messages using
$validation->setDefaultMessages()
. Unfortunately, this was removed in Phalcon 4. This was very useful when handling multi lingual applications.So when transitioning to Phalcon 4, I found a way to do this myself.
Beta Was this translation helpful? Give feedback.
All reactions