Add language code on url with filament with laravel,

hello , i facing to some probleme, we have multi-language problem , and we try to add language code on our url but it's not work , please need help for that , our route statement is : Route::prefix('{locale}') ->where(['locale' => 'en|fr']) ->middleware(['setLocale', Authenticate::class]) // Use the full namespace ->group(function () { Filament::serving(function () { // Filament routes are automatically registered }); }); please need your help to solve this issues on our project
1 Reply
Mohamed Ayaou
Mohamed Ayaou2mo ago
Are you trying to modify all filament URLs to be prefixed with the language locale? like /admin/login -> /en/admin/login?

Did you find this page helpful?