How to add localisation prefix to admin uri #14746
Unanswered
jordantsap
asked this question in
Help
Replies: 1 comment
-
Im using package # routes/web.php
Route::group([
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath', 'localize'],
], function () {
//...
require base_path('vendor/filament/filament/routes/web.php');
}); in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Panel builder
Package Version
3.2
How can we help you?
I am building an application with spatie/laravel-translatable to which i have the $locale $locale = request()->segment(1) embedded into the uri of the application, in the admin it gives me error 404, how to add the locale code in the admin uri path
Beta Was this translation helpful? Give feedback.
All reactions