© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
78 replies
Lara Zeus

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
Translatable

all none translateable attributes won't be saved.

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


and the inside it another foreach
getTranslatableAttributes
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
adding trait Translatable will make all fields Translatable · Issue...
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...
adding trait Translatable will make all fields Translatable · Issue...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Translatable not working for non translatable fields.
FilamentFFilament / ❓┊help
3y ago
getGloballySearchableAttributes with translatable fields
FilamentFFilament / ❓┊help
3y ago
Make settings translatable
FilamentFFilament / ❓┊help
7mo ago
Spatie Translatable non translated fields
FilamentFFilament / ❓┊help
13mo ago