Spatie Translatable Plugin - Repeater Fields Supported

Does the official plugin https://filamentphp.com/plugins/filament-spatie-translatable now support translation of repeater fields (stored as json).
Iirc in v2 it didn't support repeater fields so hoping v3 does
Filament
Spatie Translatable by Filament - Filament
Filament support for Spatie's Laravel Translatable package.
8 Replies
Blackpig
Blackpig6mo ago
Yes, looks like it does, I haven't tried all the different form types but it's working ok with simple text fields, hurrah!
Haydra
Haydra2mo ago
can't find it, can you help me with it ?
Blackpig
Blackpig2mo ago
@Haydra help you with what?
Haydra
Haydra2mo ago
@Blackpig can't find anything about repeater field for spatie plugin, and if there another way i'm trying to use it with pivot attributes, but couldn't make it done
Blackpig
Blackpig2mo ago
ok, I'll see if I can find out where I used it
Haydra
Haydra2mo ago
Thanks a lot, i really appreciate it @Blackpig did you find anything ? it's a bit urgent
Blackpig
Blackpig2mo ago
Sorry, been busy with work. If I get time I'll spin up a quick project later. IIRC - I just added the repeater field to the translatable array on the model and added the relevant traits/concerns. The main difference from a normal text input is when switching locale, the text input would be on the page ready for the new language input. But with a repeater - if you have already added 3 in the 'EN' locale and then switch to 'FR' - you would need to add the 3 repeaters again - it doesn't auto-magically create 3 'empty' repeaters awaiting translated input. I also wasn't using the repeater for a relationship - it was data stored in a JSON field on the model.
Haydra
Haydra2mo ago
no problem with adding repeater item if the locale key doesn't exist, it's a good practice for the situation, i have been thinking in similar way but couldn't implement it. thanks i really appreciate it