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 project1 Reply
Are you trying to modify all filament URLs to be prefixed with the language locale?
like
/admin/login
-> /en/admin/login
?