Closed PivanDepolo closed 1 year ago
Describe the bug Hello! I have the option to hide the URL for the default locale enabled.
To Reproduce Steps to reproduce the behavior:
Expected behavior URL should be hidden after switching back to the default locale
More info:
supportedLocales
Hello, try to add the LaravelLocalizationRedirectFilter::class middleware to your routes.
LaravelLocalizationRedirectFilter::class
It works! You are genius. Thank you sir!
Describe the bug Hello! I have the option to hide the URL for the default locale enabled.
To Reproduce Steps to reproduce the behavior:
Expected behavior URL should be hidden after switching back to the default locale
More info:
supportedLocales
has default settings, 'useAcceptLanguageHeader' => true, `'hideDefaultLocaleInURL' => true