Answer the question
In order to leave comments, you need to log in
How to determine the current language in renderAjax?
Good afternoon, I have a form called by Ajax in the FormController controller. Is it possible to get the current language of the site in it? Yii::$app->language outputs ru because the code is called in form/signup and the current page is site.ru/kz/
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