Answer the question
In order to leave comments, you need to log in
Multilanguage with two domains on Laravel?
It is necessary to make 2 languages for the site on Laravel, but on 2 domains. Those. go to .ru and get the Russian version, go to .com get the English version. In my head there is only a variant with the definition of the domain, and then, according to the condition, give this or that localization. Maybe there is a better option?
Answer the question
In order to leave comments, you need to log in
Made so:
App::setLocale in AppServiceProvider changes depending on the domain.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question