You don't need separate routes for multilingual sites. Suppose they change the language in a dropdown, just use some Javascript and redirect to location.pathname + '?lang=' + lang
Then perhaps at the top of the routes or in a service provider:
if (Input::get('lang') {
App::setLocale(Input::get('lang'));
});
Then use the Language files so you show the correct text.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.