route:cache ready
Two static routes per definition. No dynamic registration.
Auto-detect, auto-redirect, and resolve `route()` per language. Static routes, `route:cache` compatible.
Route::localize(function () {
Route::get('/about', AboutController::class)->name('about');
});route('about') returns /about (default locale), /de/about, /fr/about based on the current locale.
mcamara/laravel-localization Rebuilt on static routes: route:cache works out of the box, translated routes resolve through Laravel's own URL generator.
Migrating? See the step-by-step migration guide.