adding trait Translatable will make all fields Translatable

@Dan Harrin
sorry to @ you 😅
continuing the discussion here I think it's easier and maybe others can help!

the issue root: https://github.com/filamentphp/filament/issues/7156

long story short:
when using the trait Translatable
all none translateable attributes won't be saved.

I found that there is two loops first one for $this->getTranslatableLocales()

and the inside it another foreach getTranslatableAttributes


it only saves one language, and on the next, it will revert to the original data,

should it be saving only one lang, the selected one?

attached a dump file
dump.html707.03KB
GitHub
Package filament/filament Package Version v3 Laravel Version v10 Livewire Version v3 PHP Version v8.1 Problem description when using the trait Translatable all fields will be translatable by adding...
Was this page helpful?