Ahmed Abdelaal
Ahmed Abdelaal
https://github.com/mcamara/laravel-localization We are using this package for many projects to translate routes. When we cache routes using their command, it generates many files in`bootstrap/cache` based on the locales supported by...
@rodrigopedra I don't understand your point fully. IMO, when anyone open the `bootstrap/app.php` with this code ``` Application::configure(basePath: dirname(__DIR__)) ->withRouting( commands: __DIR__.'/../routes/console.php', health: '/up', provider: \App\Providers\RouteServiceProvider::class ) ``` will totally...
@rodrigopedra > > Based on the current locale of the request, they load the correct cached routes file. > > This is working as intended, right? Yes > > >...
Even if there's another package that can perform the same function, the issue of overriding this `RouteServiceProvider` will remain. It was a feature that the framework gave me full permissions...