Skip to content

Releases: mcamara/laravel-localization

Version 1.4.8

03 Jan 16:28
Compare
Choose a tag to compare
  • Added en_CA to the default config file by @xitude

Version 1.4.7

04 Nov 23:33
Compare
Choose a tag to compare
Add translatable route parameters (#676)

* Add new Interface for translating RouteParameter

* Add instructions to use translatable route paramters

* Add route-model-binding to translatable slugs

* Correct Interface path in Readme

* Fixes PSR2 for new test method

* Update Readme

Add example for route-model-binding

Version 1.4.6

25 Oct 08:31
Compare
Choose a tag to compare
Fix missing import in LocaleCookieRedirect (#674)

* Add missing import for LanguageNegotiator

* Fix formatting

Version 1.4.5

17 Oct 20:29
Compare
Choose a tag to compare
Fixed getLocalizedURL producing duplicate query string (#671)

Happens for non translated routes

Version 1.4.4

15 Oct 20:52
Compare
Choose a tag to compare
Added LocaleCookieRedirect Middleware to Readme (#669)

Also made it compatible for the case that its used
with hidden default locale and accept header.

Closes #613

Version 1.4.3

13 Oct 10:20
Compare
Choose a tag to compare

Fixes a bug introduced with 1.4.2.

Version 1.4.2

20 Sep 15:24
Compare
Choose a tag to compare
Fixes combination of cached routes and hide default locale in URL (#651)

* Fixed loading of translated cached routes in console context

Used to only work for requests, since it depended on the request segment to read the locale. Now, LaravelLocalization's current locale is used.

* Fixed route cache and list command for Laravel 5.8

* Fixed hide default locale in URL flag not working when routes are cached

This fix ensures that no locale string is returned from `::setLocale()`, even when routes are cached, for the default locale, when this config flag is enabled.

Version 1.4.1

08 Sep 13:57
Compare
Choose a tag to compare
Fixed issues with translated route caching (#646)

* Fixed loading of translated cached routes in console context

Used to only work for requests, since it depended on the request segment to read the locale. Now, LaravelLocalization's current locale is used.

* Fixed route cache and list command for Laravel 5.8

Version 1.4.0

06 Sep 07:39
7d6f2de
Compare
Choose a tag to compare

Compatibility with Laravel 6

Version 1.3.20

28 Jun 16:19
Compare
Choose a tag to compare
Respect locales mapping (#631)

* Respect locales mapping

* PHPUnit 8 compatibility

* Replace localeCode with corresponding value from the mapping

* Update README.md and CHANGELOG.md