There is a section in the documentation about localizing resource names which might help
https://laravel.com/docs/5.7/controllers#restful-localizing-resource-uris
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to use lang parameter in my resource route, but how do I handle this. I have this right now:
Route::resource('pigeon/{lang}', 'PigeonController');
But this provides some very bad routes :P

I have been looking here: https://laravel.com/docs/5.7/localization But I can't seem to find it.
I would use a package for this rather than write my own.
FYI - convention would be to put the language at the start of the url rather than between the resoufce and actions
Please or to participate in this conversation.