FilamentF
Filament10mo ago
Zoltar

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
image.png
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
Was this page helpful?