source/Core/Language.php
protected function _getAdminLangFilesPathArray($iLang)
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $aLangFiles = [];

        $sAppDir = $oConfig->getAppDir();
        $sLang = \OxidEsales\Eshop\Core\Registry::getLang()->getLanguageAbbr($iLang);

        $aModulePaths = [];
        $aModulePaths = array_merge($aModulePaths, $this->_getActiveModuleInfo());
        $aModulePaths = array_merge($aModulePaths, $this->_getDisabledModuleInfo());

        // admin lang files
        $sAdminPath = $sAppDir . 'views/admin/' . $sLang;
        $aLangFiles[] = $sAdminPath . "/lang.php";
        $aLangFiles[] = $sAppDir . 'translations/' . $sLang . '/translit_lang.php';
        $aLangFiles = $this->_appendLangFile($aLangFiles, $sAdminPath);

        // themes options lang files
        $sThemePath = $sAppDir . 'views/*/' . $sLang;
        $aLangFiles = $this->_appendLangFile($aLangFiles, $sThemePath, "options");

        // module language files
        $aLangFiles = $this->_appendModuleLangFiles($aLangFiles, $aModulePaths, $sLang, true);

        // custom language files
        $aLangFiles = $this->_appendCustomLangFiles($aLangFiles, $sLang, true);

        return count($aLangFiles) ? $aLangFiles : false;
    }
protected function _getAdminLangFilesPathArray($iLang)
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $aLangFiles = [];

        $sAppDir = $oConfig->getAppDir();
        $sLang = \OxidEsales\Eshop\Core\Registry::getLang()->getLanguageAbbr($iLang);

        $aModulePaths = [];
        $aModulePaths = array_merge($aModulePaths, $this->_getActiveModuleInfo());
        $aModulePaths = array_merge($aModulePaths, $this->_getDisabledModuleInfo());

        // admin lang files
        $sAdminPath = $sAppDir . 'views/admin/' . $sLang;
        $aLangFiles[] = $sAdminPath . "/lang.php";
        $aLangFiles[] = $sAppDir . 'translations/' . $sLang . '/translit_lang.php';
        $aLangFiles = $this->_appendLangFile($aLangFiles, $sAdminPath);

        // themes options lang files
        $sThemePath = $sAppDir . 'views/*/' . $sLang;
        $aLangFiles = $this->_appendLangFile($aLangFiles, $sThemePath, "options");

        // module language files
        $aLangFiles = $this->_appendModuleLangFiles($aLangFiles, $aModulePaths, $sLang, true);

        // custom language files
        $aLangFiles = $this->_appendCustomLangFiles($aLangFiles, $sLang, true);

        return count($aLangFiles) ? $aLangFiles : false;
    }
protected function _getAdminLangFilesPathArray ( $ iLang ) { $ oConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ aLangFiles = [ ] ; $ sAppDir = $ oConfig -> getAppDir ( ) ; $ sLang = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getLanguageAbbr ( $ iLang ) ; $ aModulePaths = [ ] ; $ aModulePaths = array_merge ( $ aModulePaths , $ this -> _getActiveModuleInfo ( ) ) ; $ aModulePaths = array_merge ( $ aModulePaths , $ this -> _getDisabledModuleInfo ( ) ) ; // admin lang files $ sAdminPath = $ sAppDir . 'views/admin/' . $ sLang ; $ aLangFiles [ ] = $ sAdminPath . "/lang.php" ; $ aLangFiles [ ] = $ sAppDir . 'translations/' . $ sLang . '/translit_lang.php' ; $ aLangFiles = $ this -> _appendLangFile ( $ aLangFiles , $ sAdminPath ) ; // themes options lang files $ sThemePath = $ sAppDir . 'views/*/' . $ sLang ; $ aLangFiles = $ this -> _appendLangFile ( $ aLangFiles , $ sThemePath , "options" ) ; // module language files $ aLangFiles = $ this -> _appendModuleLangFiles ( $ aLangFiles , $ aModulePaths , $ sLang , true ) ; // custom language files $ aLangFiles = $ this -> _appendCustomLangFiles ( $ aLangFiles , $ sLang , true ) ; return count ( $ aLangFiles ) ? $ aLangFiles : false ; }
Returns array with paths where admin language files are stored

@param int $iLang active language

@return array
Returns array with paths where admin language files are stored