Laravel multi-language website with different domains
Hi,
I'm trying to find information on how you can host a Laravel website on 2 domains with one being in one language and in another language on another domain (but being the same app).
I looked at the
So for example, let's say I have a Laravel app about Boats. And I have the domain name boats.com and bateaux.com (french version).
Technically what I'd want is that it would be the same website on both domain and on the same server, with the difference that their config/app.php setting for "locale" would be different.
I was also thinking about duplicating the entire website and hosting 2 differents app doing the same thing except for having a different locale, but that seems really inefficient.
For your information, I was planning on getting a "droplet" from DigitalOcean, but I can't find information on how to make a multi-language Laravel app to work with it.