translate validation.required?
hello,
how do I translate validation.required?
need to translate in importer, then not have form field and cannot use ->validationMessages()
any suggestions?
THANK YOU

Solution:Jump to solution
You just need to add a language file and add it.
say:
resource/lang/en.json ...
7 Replies
Solution
You just need to add a language file and add it.
say:
resource/lang/en.json
"validation.required": "Sorry, this field is Required.",
do create your own my-lang.json
try
thanks its work
sorry @toeknee is it possibile that the file resource/lang/it.json conflict to lang\vendor\filament-actions\it\import.php ?
How do you mean?
I edit in import.php:
'example_csv' => [
'file_name' => 'lista_email',
],
and translation not work when create it.json file
It worked fine before
You will need to review how to override vendor languages see:https://laravel.com/docs/6.x/localization
Localization - Laravel 6.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
mmm ok
thanks