I try to make a multilingual site on Laravel 5.3
Route::group( ['prefix' => '{lang?}'], function () { Route::get( '/{post}', 'Front\Post@index' )->name( 'post' ); Route::get( '/', 'Front\HomeController@index' )->name( 'home' ); } ); If the link is /ru/some-post , the route works correctly and the Front\Post@index controller is called. But if the link is /some-post then the route considers that some-post is the lang parameter, not the post . The idea is that you want to hide the localization from the url for the default language.
Who can that advise in this occasion?