F
Filament3mo ago
Friekj

Spatie Translatable for RelationManager

There is no LocaleSwitcher for modals and therefor i cant switch the locale when inside a EditModel for a RelationManager for example. What would be the best way to solve this problem?
2 Replies
Helard
Helard3mo ago
I have the same problem, please somebody help, how to set data for the variables label and pluralLabel for RelationManager
Luiz
Luiz3mo ago
I found this "extension" for filament spatie translatable https://larazeus.com/docs/translatable/v3/introduction This will work with RelationManager and ManageRelatedRecords This adds a new action LocaleSwitcher to Tables\Actions Also if using with ManageRelatedRecords don't forget to add this trait use \Filament\Resources\Pages\ManageRecords\Concerns\Translatable;
Want results from more Discord servers?
Add your server