Answer the question
In order to leave comments, you need to log in
How to indicate localized field names in Laravel validation errors?
When displaying messages, the technical names of the fields are indicated.
Is it possible to somehow set up the normal field names there? So that the user generally understands what field we are talking about?
Those. so that instead of title there is a title
Answer the question
In order to leave comments, you need to log in
Of course, I'm just learning myself) but it seems like in the resources/lang/language code/validation.php file at the very end there are attributes
And there you can do
'attributes' => [
'title' => 'Заголовок',
],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question