translatable compatible?
I was wondering if spatie/translatable is compatible with filament v3.
If it is? what am I doing wrong? I set my locales and added the headerAction to the resources.
I get a dropdown menu, but i don't see my locales in there so i can't select nothing.
6 Replies
Did you follow every step in the docs https://filamentphp.com/plugins/filament-spatie-translatable? Where do you set the locales?
Filament
Spatie Translatable by Filament - Filament
Filament support for Spatie's Laravel Translatable package.
Yes I did. And everything seems to be working. Except i get [object object] in the input fields. I just can't select a locale
did you also set up your models correctly?
Yes i did. I went through the documentation
I tried to set up a fresh app yesterday and for me it worked with following the documentation. So something must be wrong, make sure you added the Translatable trait on your resource and pages (every page has a different trait)
I indeed made a typo! Thanks for the help!