source/Application/Model/Order.php
public function getOrderLanguage()
    {
        if ($this->_iOrderLang === null) {
            if (isset($this->oxorder__oxlang->value)) {
                $this->_iOrderLang = \OxidEsales\Eshop\Core\Registry::getLang()->validateLanguage($this->oxorder__oxlang->value);
            } else {
                $this->_iOrderLang = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
            }
        }

        return $this->_iOrderLang;
    }
public function getOrderLanguage()
    {
        if ($this->_iOrderLang === null) {
            if (isset($this->oxorder__oxlang->value)) {
                $this->_iOrderLang = \OxidEsales\Eshop\Core\Registry::getLang()->validateLanguage($this->oxorder__oxlang->value);
            } else {
                $this->_iOrderLang = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
            }
        }

        return $this->_iOrderLang;
    }
public function getOrderLanguage ( ) { if ( $ this -> _iOrderLang === null ) { if ( isset ( $ this -> oxorder__oxlang -> value ) ) { $ this -> _iOrderLang = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> validateLanguage ( $ this -> oxorder__oxlang -> value ) ; } else { $ this -> _iOrderLang = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ; } } return $ this -> _iOrderLang ; }
Returns language id of current order object. If order already has
language defined - checks if this language is defined in shops config

@return int
Returns language id of current order object . If order already has language defined - checks if this language is defined in shops config