Answer the question
In order to leave comments, you need to log in
How to transfer a project in en to another domain?
The task is to translate/duplicate the Russian project into en. To another domain with its own server and database. But with shared files. Those. 2 different sites -ru/en with their own databases and servers, but it will be one Laravel project. I plan to deploy in Laravel Forge for two different servers from one git. The sites will differ not only in translation, but also in some modules.
As I think to do. APP_LOCALE = ru/en in env. Specify in the config
For the front (VUE) to collect translations on the server into one variable and prescribe texts.title in the templates.
For modules to do check before launch'locale' => env('APP_LOCALE'),
if (App::isLocale('en')) {
// модуль для en
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question