I have a fullpage livewire component where a guest user can download a file. The link to the page contains the locale the page should use, and I use this to set the locale in the mount() method. This works for all content on the page.
Now the problem is that the validation errors does not get translated. It just shows in english.
have tried setting the locale in boot(), rules(), middleware, $this->withValidator(), just before calling $this->validate() but none of them work
I'm curious how I can hook into it correctly