Ok now when i post error validate input i want to display according to the language which user select
i put in a validation lang in array attributes the name of my attribute in my case is
title.en and title.whatever
like this
'title.en' => 'title'
'title.whatever' => 'some language'
and it worked
but what If i put more language in the future
i have to edit in lang validation file
so what can i do to make the key of title.anything more dynamic
Thanks for beautiful package I use this package , laravel-localization and Laravel-Translatable-Bootforms Here some of my code in controller `
and this is my blade
`
Ok now when i post error validate input i want to display according to the language which user select i put in a validation lang in array attributes the name of my attribute in my case is title.en and title.whatever like this 'title.en' => 'title' 'title.whatever' => 'some language' and it worked but what If i put more language in the future i have to edit in lang validation file so what can i do to make the key of title.anything more dynamic