Releases: mcamara/laravel-localization
Releases · mcamara/laravel-localization
Version 1.4.8
- Added
en_CA
to the default config file by @xitude
Version 1.4.7
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
Fix missing import in LocaleCookieRedirect (#674) * Add missing import for LanguageNegotiator * Fix formatting
Version 1.4.5
Fixed getLocalizedURL producing duplicate query string (#671) Happens for non translated routes
Version 1.4.4
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
Fixes a bug introduced with 1.4.2.
Version 1.4.2
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
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
Compatibility with Laravel 6
Version 1.3.20
Respect locales mapping (#631) * Respect locales mapping * PHPUnit 8 compatibility * Replace localeCode with corresponding value from the mapping * Update README.md and CHANGELOG.md