You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Route caching doesn't work in Laravel 11. The package's caching documentation relies on RouteServiceProvider which has been removed in Laravel 11.
Thank you for reporting this bug. Unfortunately, I’m not aware of a simple workaround for version 11 at the moment. However, we are actively working on version 3 of this package, which will eliminate the need for custom caching and fully leverage Laravel’s built-in cache. This update will resolve the issue once it’s ready.
Describe the bug
Route caching doesn't work in Laravel 11. The package's caching documentation relies on
RouteServiceProvider
which has been removed in Laravel 11.To Reproduce
artisan route:trans:cache
becauseRouteServiceProvider
doesn't existExpected behavior
Route caching should work with Laravel 11's new routing system
More info:
localize
,localizationRedirect
,localeCookieRedirect
,localeViewPath
Additional context
Current caching documentation at https://github.com/mcamara/laravel-localization/blob/master/CACHING.md is incompatible with Laravel 11.
The text was updated successfully, but these errors were encountered: