protected function registerRegional()
    {
        $this->clientOptions['lang'] = ArrayHelper::getValue($this->clientOptions, 'lang', Yii::$app->language);
        $langAsset = 'lang/' . $this->clientOptions['lang'] . '.js';
        if (file_exists($this->sourcePath . DIRECTORY_SEPARATOR . $langAsset)) {
            $this->assetBundle->js[] = $langAsset;
        } else {
            ArrayHelper::remove($this->clientOptions, 'lang');
        }

    }