esign/laravel-helpermodel-translatable
Adds translatable attributes to Eloquent models in Laravel, letting you store and retrieve per-locale values through a simple helper trait. Includes locale fallbacks, mass assignment support, and query scopes for multilingual content.
Adopt when most of the following hold:
Look elsewhere or defer when:
lang files plus a simple JSON column are lower total cost than a dependency plus schema.To executives: This is a small, low-cost dependency that removes a recurring blocker on international expansion: today, launching or adjusting a market requires engineering work to define what customers see when a translation is missing. Version 2.0 makes that a content-team setting. The trade-off is a one-time engineering upgrade — a major version with a documented migration path — plus regression testing on localized surfaces. Recommendation: approve the upgrade only if a locale launch or localization-scope change is on the near-term roadmap; otherwise defer and revisit at planning.
To engineering: 2.0 adds database-defined fallback translations and is a breaking major release. Scope the work as: read UPGRADING.md, plan the schema/config migration for fallback definitions, run the full localized-content regression matrix (including fallback and missing-key paths), and confirm behaviour on API responses that serialize translated fields. Assess maintainer bus-factor and decide whether we pin to 1.12.x until the next planned localization epic rather than upgrading opportunistically.
How can I help you explore Laravel packages today?