spatie/laravel-translatable
Add multilingual fields to Eloquent models using a simple HasTranslations trait. Store translations as JSON on the model (no extra tables). Set/get translations per locale, switch app locale, fetch all translations, and even translate nested JSON keys via -> notation.
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.4...6.12.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.2...6.11.3
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.1...6.10.2
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.0...6.10.1
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.3...6.10.0
null by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/474Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.2...6.9.3
setAttribute to handle array list as value for translation by @alipadron in https://github.com/spatie/laravel-translatable/pull/469Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.1...6.9.2
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.0...6.9.1
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.8.0...6.9.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.1...6.8.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.0...6.7.1
array $translatable by @fahrim in https://github.com/spatie/laravel-translatable/pull/441Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.2...6.7.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.1...6.6.2
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.0...6.6.1
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.5...6.6.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.4...6.5.5
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.3...6.5.4
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.2...6.5.3
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.1...6.5.2
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.0...6.5.1
$this->translations() in factories by @bram-pkg in https://github.com/spatie/laravel-translatable/pull/382Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.4.0...6.5.0
tests status in README.md by @gomzyakov in https://github.com/spatie/laravel-translatable/pull/377Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.3.0...6.4.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.2.0...6.3.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.1.0...6.2.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.0.0...6.1.0
spatie/laravel-package-toolsforgetTranslation & forgetAllTranslations on fields with mutator (#205)translatable.fallback_local config which overrule app.fallback_local (see https://github.com/spatie/laravel-translatable/issues/170)app.fallback_local will now be used (see #148)hasTranslationgetTranslations to return other things than stringstranslations accessornull valueskey attributelaravel-translatable to translatableforgetAllTranslationsisTranslatableAttribute publicwithLocale to usingLocaleHow can I help you explore Laravel packages today?