F
Filament14mo ago
VIIKKK

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
Jyrki
Jyrki14mo ago
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.
VIIKKK
VIIKKKOP14mo ago
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
awcodes
awcodes14mo ago
did you also set up your models correctly?
VIIKKK
VIIKKKOP14mo ago
Yes i did. I went through the documentation
Jyrki
Jyrki14mo ago
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)
VIIKKK
VIIKKKOP14mo ago
I indeed made a typo! Thanks for the help!
Want results from more Discord servers?
Add your server