Component.php
private function _initTranslation()
    {
        $module = Yii::$app->getModule('translatemanager');

        if ($module->checkAccess() && $this->_checkRoles($module->roles)) {
            Yii::$app->session->set(Module::SESSION_KEY_ENABLE_TRANSLATE, true);
        }
    }
private function _initTranslation()
    {
        $module = Yii::$app->getModule('translatemanager');

        if ($module->checkAccess() && $this->_checkRoles($module->roles)) {
            Yii::$app->session->set(Module::SESSION_KEY_ENABLE_TRANSLATE, true);
        }
    }
private function _initTranslation ( ) { $ module = Yii :: $ app -> getModule ( 'translatemanager' ) ; if ( $ module -> checkAccess ( ) && $ this -> _checkRoles ( $ module -> roles ) ) { Yii :: $ app -> session -> set ( Module :: SESSION_KEY_ENABLE_TRANSLATE , true ) ; } }
Initialising front end translator.
Initialising front end translator .