kaantanis/filament-tab-translatable
A Filament plugin that adds locale tabs to translatable form fields, letting editors switch languages in a clean tabbed interface instead of stacked inputs. Simplifies multilingual content management in Filament resources and forms with minimal setup.
Start by pulling the patch and re-reading the README, which was updated in 2.0.1. The release adds a tabs property and nested untranslatable field support, so the README is the fastest way to see the intended configuration shape before you wire anything into an existing form.
Minimal steps:
composer update the package to 2.0.1.php artisan optimize:clear) since the package now ships stricter code and a new property.First practical use case: a content edit screen where translatable fields (title, body) live in locale tabs, while shared fields (slug, status, publish date) sit nested but untranslated. The 2.0.1 changes target exactly this layout.
Tabbed translatable forms. Use the new tabs property to group translatable fields per locale rather than rendering every locale inline. For day-to-day work this means one tab per configured locale, with the same field set repeated inside each tab. Keep the tab definition close to the field definition so adding a new translatable field automatically appears in every locale tab.
Nested untranslatable fields. 2.0.1 allows untranslatable fields to be nested inside translatable structures. The pattern that works well:
Strict code expectations. The “code strict” change means the package now expects stricter types. In your own integration code:
null where the package now expects a string/array.phpstan, psalm) or at least php -l across your form classes after upgrading.Integration tips.
tabs property rather than running two tab systems side by side.tabs property and nested untranslatable support can change rendering and save behavior. Test one existing form before rolling out across all resources.tabs property may double-wrap or reorder them. Check the rendered form, not just the saved data.How can I help you explore Laravel packages today?