public function registerAssetFiles($view)
    {
        $language = Yii::$app->language;
        if (file_exists($this->sourcePath . "/$language.js") !== false) {
            $this->js = [
                "$language.js"
            ];
        }

        parent::registerAssetFiles($view);
    }