Support the ongoing development of →
Blade Laravel
Last updated 8 months ago.

So I found the solution, what you need to route the link. so like this:

<a href="{{ route('contact', app()->getLocale()) }}">{{__('common.contact_us')}}</a>

and to work this you have to add the name to the Route in web.php like this:

Route::get('/contact', '[email protected]')->name('contact');

if you do not add the name, it will say Route not found.


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.