Missing required parameter for [Route: language-switcher.locale] #899
-
Beta Was this translation helpful? Give feedback.
Answered by
blondie63
Mar 27, 2024
Replies: 1 comment 1 reply
-
Hey @blondie63 I think the issue there is that you are using the switcher in a "non-auth" page (login .. before user is logged in), and you are including the middleware only in the routes where user is logged in. I think this is what you are missing: https://github.com/Laravel-Backpack/language-switcher?tab=readme-ov-file#can-i-use-this-package-outside-of-the-backpackadmin-scope Let me know how it goes. Cheers |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pxpm i've just enabled this middleware, i fixed it restarting vs.code.. very strange..