Наследование: extends lajax\translatemanager\models\LanguageSource, use trait lajax\translatemanager\models\searches\SearchTrait
 /**
  * List of language elements.
  * @return string
  */
 public function run()
 {
     $searchModel = new LanguageSourceSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());
     TranslateAsset::register(Yii::$app->controller->view);
     TranslatePluginAsset::register(Yii::$app->controller->view);
     return $this->controller->render('translate', ['dataProvider' => $dataProvider, 'searchModel' => $searchModel, 'language_id' => Yii::$app->request->get('language_id', '')]);
 }
 /**
  * List of language elements.
  * @return string
  */
 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, 'language_id' => Yii::$app->request->get('language_id', '')]);
 }