Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not supported with url #179

Open
roshani3110 opened this issue Nov 9, 2020 · 0 comments
Open

not supported with url #179

roshani3110 opened this issue Nov 9, 2020 · 0 comments

Comments

@roshani3110
Copy link

roshani3110 commented Nov 9, 2020

hello,

using Laravel version - 5.8

followed https://github.com/Waavi/translation#uri-localization this instruction. but I didn't get the correct route in PHP artisan route: list. and also API gave 404 status code.

here is api.php -

Route::group(['prefix' => '/v1', 'middleware' => ['auth:api'], 'namespace' => 'Api\V1', 'as' => 'api.'], function () { Route::group(['prefix' => \UriLocalizer::localeFromRequest(2),'middleware' => 'localize:2'], function () { Route::get('me', 'UserController@profile'); }); });

Here route list -

Screenshot from 2020-11-09 11-42-56

Please help me,

Thanks in advance!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant