M
M
Maxim2015-02-02 20:31:24
Yii
Maxim, 2015-02-02 20:31:24

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

1 answer(s)
M
Maxim Timofeev, 2015-02-08
@webinar

you need to edit the url manager in the backend config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question