Translate validation messages

How can i translate the validation messages? In my config i have set the locale to NL so everything else is the right language except these messages.
No description
2 Replies
dissto
dissto2w ago
This appears to be a default laravel validation message. You probably need to publish laravels language files and add your own NL to it? php artisan lang:publish
Mohamed Ayaou
Mohamed Ayaou2w ago
the validation translations in filament (and many other laravel packages) are coming from the laravel-lang repo, you should have it already installed, just publish its translation files and edit them https://github.com/Laravel-Lang/lang
GitHub
GitHub - Laravel-Lang/lang: List of 126 languages for Laravel Frame...
List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI. - Laravel-Lang/lang

Did you find this page helpful?