protected function loadFromHttpHeader()
    {
        foreach (Yii::$app->request->getAcceptableLanguages() as $language) {
            if (in_array($language, $this->supportedLanguages)) {
                return $language;
            }
        }

        return false;
    }