All notable changes to laravel-translatable
will be documented in this file
- revert #235
- use string casting for translatable columns (#235)
- add replaceTranslations method (#231)
- rename
withLocale
tousingLocale
- elegant syntax update (#229)
- add support for Laravel 8 (#226)
- make possible to set multiple translations on mutator model field with array (#216)
- fix
forgetTranslation
&forgetAllTranslations
on fields with mutator (#205)
- Lumen fix (#201)
- add support for Laravel 7
- open up for non-model objects (#186)
- add third param to translate method (#177)
- make compatible with Laravel 6
- re-added the
translatable.fallback_local
config which overruleapp.fallback_local
(see spatie#170)
- improve dependencies
- allow false and true values in translations
- fix service provider error
- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
app.fallback_local
will now be used (see #148)
- add support for Laravel 5.8
- add
hasTranslation
- allow 0 to be used as a translation value
- allow
getTranslations
to return other things than strings
- fix regarding empty locales
- added
translations
accessor - dropped support for PHP 7.0
- add support for Laravel 5.7
- made it possible to get all translations in one go
- better handling of
null
values
- add support for L5.6
- make locale handling more flexible
- fix for using translations within translations
- fix event
key
attribute - fix support for mutators
- added support for setting a translation directly through the property
- added support for Laravel 5.5, dropped support for all older versions
- rename config file from
laravel-translatable
totranslatable
- add
forgetAllTranslations
- improve support for fallback locale
- improve compatibility for Laravel 5.4
- add compatibility for Laravel 5.4
- made
isTranslatableAttribute
public
- add L5.3 compatibility
- added support for a fallback locale
- initial release