Releases: dimsav/laravel-translatable
Releases · dimsav/laravel-translatable
v7.2.1
v. 7.2.1
- Fixed delete events not fired for translations. #361
v7.2
v. 7.2
- Added replicateWithTranslations(). #346
- Added orWhereTranslation and orWhereTranslationLike scopes. #338
- Added support for laravel auto-discovery. #359
- Added tag for publishing the config file. #360
v7.1
v. 7.1
- Added fallback per attribute. #348
- Added getTranslationsArray() #347
- Fixed filling 'property:locale' format was not validating the locale. #356
v7.0
v7.0
- Added compatibility with Laravel 5.4
- Added default locale per model #271
v6.1
v. 6.1
- Filling a model now supports using the 'property:locale' format in keys. #314 For example:
$country->fill(['name:en' => 'Belgium']);
- Added config to skip translations in toArray() for better performance when needed. #315
v6.0.1
- Fix issue when trying to fetch a translation with a country based locale #264
v6.0
- Translated fillable properties should only be defined in the translation model.
- To update from version 5, move all the fillable properties belonging to a translation to the corresponding translation models.
- Added deleteTranslations() method for conveniently deleting translations
v5.6.1
- Added support for Lumen without Facades #259
- Added support for Model accessors #257
- Updated code style and added styleci to enforce it
v5.6
- Added scope notTranslatedIn() #235
v5.5.1
- Fixed a bug in locale fallback on toArray()