#troubles configuring the Locale in my project ;(
13 messages · Page 1 of 1 (latest)
You have to define the lang.switch route like the instructions tell you to..
it is clearly looks for a route named lang.switch
but it never says to define it. Mayby someone has any guesses ?
You might wanna learn some basics of Laravel first.
The route function looks for a route name
i am learning
Don't learn from random articles, use trusted and verified sources
We don't learn tools for the sake of learning tools. Instead, we learn them because they help us accomplish a particular goal. With that in mind, in this series, we'll use the common desire for a blog - with categories, tags, comments, email notifications, and more - as our goal. Laravel will be the tool that helps us get there. Each lesson, ge...
I agree with Jorq that this guide is outdated and sketchy, but it definitely tells you to define the route https://5balloons.info/localization-laravel-multi-language-language-switcher#:~:text=Let's also add the corresponding route entry in the web.php file to hit the controller method