Localization using a separate table

Hello. I read the documentation and saw, that an official way to translate Filament is use spatie/translatable. But, I store my translation data in separate table. Is there ready-made solution or library, as I can save tranlateble fields in separate table? P.s. Sory for my English if I made some mistakes:)
2 Replies
Mark Chaney
Mark Chaney2y ago
Id recommend doing your translations per the standards given. Will cause you less headaches
Patrick Boivin
I can second that... I'm working on a project where we implemented a custom translation solution (title_en, title_fr, ... on the table) and it's a lot of manual work, for little gain. That said, if you really need to store the translations in a separate table, have a look at this: https://docs.astrotomic.info/laravel-translatable/installation
Want results from more Discord servers?
Add your server