I have some issues with Laravel5. I got multiple domains linked to single application, but each domain can have multiple languages. Locale string should not appear until different language is selected for domain.
Maybe some one has experience with this. etc.:
domain.com/home
domain.net
domain.lt/pagrindinis
domain.lt/en/home
I finally found solution:
On app.php i made custom array for locations:
and in route service provider.
Routes.php file contains:
So what i reached is multiple domains, with multiple languages and pretty nice SEO url's for every locale. Maybe anyone can make some other ideas?