All notable changes to laravel-translatable
will be documented in this file
- Fix toArray when using accessors on translatable attributes by @vencelkatai in spatie#437
- @vencelkatai made their first contribution in spatie#437
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.1...6.6.2
- fix: allow raw searchable umlauts by @Muetze42 in spatie#436
- @Muetze42 made their first contribution in spatie#436
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.0...6.6.1
- Add laravel 11 support by @mokhosh in spatie#434
- @mokhosh made their first contribution in spatie#434
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.5...6.6.0
- Revert "Keep null value" by @mabdullahsari in spatie#428
- @mabdullahsari made their first contribution in spatie#428
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.4...6.5.5
- Bump actions/checkout from 3 to 4 by @dependabot in spatie#413
- Keep the number of translations even with null values by @sdebacker in spatie#427
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in spatie#418
- @sdebacker made their first contribution in spatie#427
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.3...6.5.4
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in spatie#398
- handle new attribute mutator 💥 by @messi89 in spatie#402
- @messi89 made their first contribution in spatie#402
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.2...6.5.3
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in spatie#394
- Convert static methods to scopes by @gdebrauwer in spatie#396
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.1...6.5.2
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in spatie#389
- Add getFallbackLocale method by @gdebrauwer in spatie#391
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.0...6.5.1
- update customize-the-toarray-method.md by @moham96 in spatie#387
- Add macro for
$this->translations()
in factories by @bram-pkg in spatie#382
- @moham96 made their first contribution in spatie#387
- @bram-pkg made their first contribution in spatie#382
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.4.0...6.5.0
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in spatie#376
- Fix badge with
tests
status inREADME.md
by @gomzyakov in spatie#377 - Update README.md by @alirezasalehizadeh in spatie#381
- Enable fallback locale on a per model basis by @yoeriboven in spatie#380
- @gomzyakov made their first contribution in spatie#377
- @alirezasalehizadeh made their first contribution in spatie#381
- @yoeriboven made their first contribution in spatie#380
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.3.0...6.4.0
- Laravel 10.x support by @erikn69 in spatie#374
- @erikn69 made their first contribution in spatie#374
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.2.0...6.3.0
- Add Dependabot Automation by @patinthehat in spatie#366
- Add PHP 8.2 Support by @patinthehat in spatie#367
- Bump actions/checkout from 2 to 3 by @dependabot in spatie#368
- Added whereLocale and whereLocales methods by @ahmetbarut in spatie#370
- @dependabot made their first contribution in spatie#368
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.1.0...6.2.0
- PHPUnit to Pest Converter by @freekmurze in spatie#335
- Fix typo in "Getting and setting translations" by @sami-cha in spatie#346
- Fix typo in advanced usage docs directory name by @greatislander in spatie#347
- Fixed example for forgetAllTranslations() method. by @odeland in spatie#348
- added locales method by @ahmetbarut in spatie#361
- @sami-cha made their first contribution in spatie#346
- @greatislander made their first contribution in spatie#347
- @odeland made their first contribution in spatie#348
- @ahmetbarut made their first contribution in spatie#361
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.0.0...6.1.0
- improved fallback customisations
- modernized code base
- drop support for Laravel 8
- support Laravel 9
- solve the string value issue in filterTranslations method (#300)
- specify locales in get translations method (#299)
- fix return types of getTranslation (#286)
- require PHP 8+
- convert syntax to PHP 8
- drop support for PHP 7.x
- drop support for Laravel 6.x
- implement
spatie/laravel-package-tools
- add support for PHP 8.0 (#241)
- drop support for Laravel 5.8 (#241)
- 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