Closed MilanUnjiya4149 closed 5 days ago
Please read the docs about CACHING
@juliangarcess The caching (artisan route:trans:cache) doesn't work either
did you run artisan route:clear
?
`class AppServiceProvider extends ServiceProvider { use \Mcamara\LaravelLocalization\Traits\LoadsTranslatedCachedRoutes;
public function boot(): void
{
RouteServiceProvider::loadCachedRoutesUsing(fn() => $this->loadCachedRoutes());
...
}`
This solution is working fine. ☺
localization route not working after php artisan route:cache. It's return 404. It's work perfect without route cache.
Localization route should work after php artisan config:cache
Route::groups
: LaravelLocalizationRoutes