astrotomic/laravel-translatable
Laravel package for translatable Eloquent models. Store model translations in the database and automatically fetch/save multilingual attributes based on locale, reducing boilerplate when working with multi-language content.
App::setLocale() integration). Supports SEO-friendly URLs and meta tags per locale.Adopt if:
Look elsewhere if:
en → fr → es → en)."This package lets us launch localized versions of [Product] without overhauling our backend. For example, a blog post in English, Spanish, and German can be managed as one record—saving dev time and reducing costs. It’s used by [X similar companies], and the MIT license avoids vendor lock-in. We can start with core content (e.g., product pages) and expand to full multilingual support as we grow into [Target Market]."
Key Metrics to Highlight:
*"This is a drop-in solution for Eloquent models that handles the heavy lifting of multilingual storage/retrieval. Key benefits:
App::setLocale() or explicit translate('fr') calls.Trade-offs:
*_translations table per model (but avoids bloating the main table).Alternatives Considered:
Recommendation: Pilot with a high-impact model (e.g., Product or BlogPost) to validate the UX and performance before full adoption."*
How can I help you explore Laravel packages today?