Multilanguage fields

Hi, I need some advice on how to handle multi-language fields in Filament.

I have models like Country and CountryTranslation, and I will have dozens of similar models with translations. I created a helper that generates a Repeater, sets up the hasMany relationship, and disables the ability to add or delete rows.

You can see the code here:
🔗 https://pastecode.io/s/q2rhynmx (password: 11111)

Example usage:

TranslatableHelper::repeater(
'title',
__('admin.global.name'),
),

The goal is to achieve a UI like this:
🖼️ https://ctrlv.sk/EvEA

I'd appreciate your advice on whether I'm going in the right direction or if there’s a better or more native way to handle this in Laravel 12 and Filament 4.

Thanks in advance!
Was this page helpful?