I read in the guide that I should use Yii::$app->language = 'da-DK'
to change language - but it doesn't remember it for the next request. Do I manually have to store the current language in a session variable when I change it?
If so, where do read the session variable and set Yii::$app->language
in the subsequent requests?