THANK YOU !!!!! I've been struggling with this for so long
@ramilsalayev42173 ай бұрын
THANK YOUU my friend, you saved me
@emmanuelovares5 ай бұрын
Thank you bro, it works perfectly!
@mdazhardware9 ай бұрын
I'm grateful for this fantastic tutorial.
@BluebirdTech9 ай бұрын
Thank you so much! :)
@canaldogrifonoia13387 ай бұрын
Helped a lot. Thank you!
@jamalamrins601Ай бұрын
thank so much , this tutorail was helpfull for me, ntks alt
@marcioclaudiotimoteo10463 ай бұрын
Thanks!!!!
@julienSibille9 ай бұрын
Thank you ! What if data comes from database and you want to perform localisation on url too ?
@fatson217 ай бұрын
Thank you very much
@hossam65357 ай бұрын
thanks a lot it's working
@persianabad5999 ай бұрын
Thank you! How to show languages prefix on route?
@judgebook8 ай бұрын
just change endpoint to /{lang} instead of locale/{lang} in web.php , dont forget to change to href target in view. Then in controller you need to remove return back and inside if you need to add return view('...');
@_3bdullkader_14 ай бұрын
Thank you for the nice explanation... I want to translate the file into Arabic as well, but the...dir = ltr أو I don't know how, can you explain this to us?
@meytii._2 ай бұрын
You saved my life. Thank you so much. 🙏🏻🫂
@bigwhoop31378 ай бұрын
Is there a specific reason to put the formula in a separate controller rather than in the route? Route::get('language/{locale}', function ($locale) { App::setLocale($locale); Session::put('locale', $locale); return back(); });
@riowahono59208 ай бұрын
why Session::get('locale') always return NULL on midleware? laravel 11
@riowahono59208 ай бұрын
i managed it work by using $locale = session('locale') ?? 'en'; I think it depend on driver setting
@goblinslayer63757 ай бұрын
work in 10?
@matteomontani46449 ай бұрын
150 points for Gryffindor
@BluebirdTech9 ай бұрын
Thanks for the Gryffindor points! Much appreciated! Go Gryffindor!