#troubles configuring the Locale in my project ;(

13 messages · Page 1 of 1 (latest)

hollow vale
#

i created this route Route::get('/languageDemo', [\App\Http\Controllers\menu_controller::class, 'languageDemo']);

night elbow
#

You have to define the lang.switch route like the instructions tell you to..

hollow vale
#

it is clearly looks for a route named lang.switch

#

but it never says to define it. Mayby someone has any guesses ?

toxic fox
#

You might wanna learn some basics of Laravel first.

The route function looks for a route name

hollow vale
#

i am learning

toxic fox
#

Don't learn from random articles, use trusted and verified sources

#
Laracasts

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...

night elbow
hollow vale
#

yes it does

#

and now it works

#

i just forgot to add it correctly

#

thank you !