source/Core/Language.php
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);
    }
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);
    }
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 ) ; }
Set base shop language

@param int $iLang Language id
Set base shop language