Replies: 2 comments 1 reply
-
There have been several attempts, they don't want this fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I've encountered a potential improvement to the message at the root of a validation error response.
Context: I am developing a SaaS in Spanish and when there's more than one validation error, Laravel by default adds
(and :count more $pluralized)
and there's no easy way to translate this (could take the locale set inapp.php
).Improvement: It would be nice if we could translate or customize this message without creating weird methods or overriding existing ones like
failedValidation
in theIlluminate\Foundation\Http\FormRequest
class.NOTE: If there is any method that can do what I am explaining here, would be nice to know.
Beta Was this translation helpful? Give feedback.
All reactions