Laravel Localization

1. Follow the link https://github.com/codezero-be/laravel-localized-routes.
Your config/localized-route.php file should look like below:
<?php

return [
'supported-locales' => ['en', 'bn'],

'omit_url_prefix_for_locale' => 'en',

'use_locale_middleware' => true,
'use_localizer' => true,

];

Labels: ,

© copyright-2020 Rejaul