controllers/actions/TranslateAction.php
public function run()
    {
        $searchModel = new LanguageSourceSearch([
            'searchEmptyCommand' => $this->controller->module->searchEmptyCommand,
        ]);
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());

        return $this->controller->render('translate', [
            'dataProvider' => $dataProvider,
            'searchModel' => $searchModel,
            'searchEmptyCommand' => $this->controller->module->searchEmptyCommand,
            'language_id' => Yii::$app->request->get('language_id', ''),
        ]);
    }
public function run()
    {
        $searchModel = new LanguageSourceSearch([
            'searchEmptyCommand' => $this->controller->module->searchEmptyCommand,
        ]);
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());

        return $this->controller->render('translate', [
            'dataProvider' => $dataProvider,
            'searchModel' => $searchModel,
            'searchEmptyCommand' => $this->controller->module->searchEmptyCommand,
            'language_id' => Yii::$app->request->get('language_id', ''),
        ]);
    }
public function run ( ) { $ searchModel = new LanguageSourceSearch ( [ 'searchEmptyCommand' => $ this -> controller -> module -> searchEmptyCommand , ] ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> getQueryParams ( ) ) ; return $ this -> controller -> render ( 'translate' , [ 'dataProvider' => $ dataProvider , 'searchModel' => $ searchModel , 'searchEmptyCommand' => $ this -> controller -> module -> searchEmptyCommand , 'language_id' => Yii :: $ app -> request -> get ( 'language_id' , '' ) , ] ) ; }
List of language elements.

@return string
List of language elements .