Open aimeos opened 3 years ago
There's also a problem with the Laravel router when mapping route variables to method arguments: https://github.com/laravel/framework/issues/36997
@taylorotwell Is there any plan to support multi-lingual routes in future versions of Laravel?
At the moment, it's pretty hard to create multi-language setups in Laravel because you have to change every
route()
call in the auth templates and include['locale' => app()->getLocale()]
, overwrite the e-mail generating methods and create a custom middleware that sets the locale correctly.Very helpful would be if future versions of Laravel:
locale
parameter in allroute()
calls automatically if enabled