public function setBaseLanguage($iLang = null)
    {
        if (is_null($iLang)) {
            $iLang = $this->getBaseLanguage();
        } else {
            $this->_iBaseLanguageId = (int) $iLang;
        }

        \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('language', $iLang);
    }