4 Replies
Try ->relationship('course', 'name->' . app()->getLocale())
Solution
thanks , this should work
however I solved it using
Yes, that too, meanwhile I have an issue with multiselect not working with translatable values, I get Uncaught (in promise) Could not find Livewire component in DOM tree when switching language and values are not translated, did you happen to have this situation working?
yeah I got it
I removed
localswither
and used https://filamentphp.com/plugins/language-switch
it's not the best solution but it's the only I foundFilament
Language Switch by Bezhan Salleh - Plugins - Filament
Zero config Language Switch(Changer/Localizer) plugin for Filamentphp Admin