Typically you would prefix your routes with the locale - there is one method here
Thanks for the suggestion. I downloaded the project from GITHub and trying in local machine. I am getting the error as
Warning: require(C:\xampp\htdocs\laravelsample\laravel-multiple-locales-master\laravel-multiple-locales-master\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\laravelsample\laravel-multiple-locales-master\laravel-multiple-locales-master\bootstrap\autoload.php on line 17
Any idea why this happens.
windows ... don't know ....
in Linux type: command:
have you done "composer install" or "composer update"?
I'm redoing my locale setup to update to L5.1.x right now.
But take a look at my older setup which works. https://github.com/illuminate3/rakko
I do not translate my slugs but the goal is to have everything else multi-lingual/
If you want to try out my code refactor that is still being worked on: https://github.com/illuminate3/rakkoII and you will need to put this in the modules directory: https://github.com/illuminate3/core
I've written a tutorial and created an open source package especially for this.
Open source language switcher package: http://ied3vil.com/open-source-laravel-5-language-switcher/
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us