source/Core/DbMetaDataHandler.php
public function getCurrentMaxLangId()
    {
        if (isset($this->_iCurrentMaxLangId)) {
            return $this->_iCurrentMaxLangId;
        }

        $table = $tableSet = "oxarticles";
        $field = $fieldSet = "oxtitle";
        $lang = 0;
        while ($this->tableExists($tableSet) && $this->fieldExists($fieldSet, $tableSet)) {
            $lang++;
            $tableSet = getLangTableName($table, $lang);
            $fieldSet = $field . '_' . $lang;
        }

        return $this->_iCurrentMaxLangId = --$lang;
    }
public function getCurrentMaxLangId()
    {
        if (isset($this->_iCurrentMaxLangId)) {
            return $this->_iCurrentMaxLangId;
        }

        $table = $tableSet = "oxarticles";
        $field = $fieldSet = "oxtitle";
        $lang = 0;
        while ($this->tableExists($tableSet) && $this->fieldExists($fieldSet, $tableSet)) {
            $lang++;
            $tableSet = getLangTableName($table, $lang);
            $fieldSet = $field . '_' . $lang;
        }

        return $this->_iCurrentMaxLangId = --$lang;
    }
public function getCurrentMaxLangId ( ) { if ( isset ( $ this -> _iCurrentMaxLangId ) ) { return $ this -> _iCurrentMaxLangId ; } $ table = $ tableSet = "oxarticles" ; $ field = $ fieldSet = "oxtitle" ; $ lang = 0 ; while ( $ this -> tableExists ( $ tableSet ) && $ this -> fieldExists ( $ fieldSet , $ tableSet ) ) { $ lang ++ ; $ tableSet = getLangTableName ( $ table , $ lang ) ; $ fieldSet = $ field . '_' . $ lang ; } return $ this -> _iCurrentMaxLangId = -- $ lang ; }
Get max language ID used in shop. For checking is used table "oxarticle"
field "oxtitle"

@return int
Get max language ID used in shop . For checking is used table oxarticle field oxtitle