Answer the question
In order to leave comments, you need to log in
How to set up multilingual in yii2?
The situation is this, there is an application on yii2 with an advanced structure , set up paths to the frontend and to the admin panel as shown here , set up multilingualism off. documentation, and the problem remains - switching the language in the admin panel, also in the admin panel (path /admin/) the paths to assets do not work correctly, but there is a slightly different problem with the language, when switching the language, /en/ is added at the beginning of the path - the language code, and if everything is fine on the frontend, then in the admin panel, the language code is placed before admin and it turns out /en/admin/ - error 404. I tried to set up multilingualism according to this recipe - the same problem, how to be?
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