source/Application/Controller/Admin/LoginController.php
protected function _getAvailableLanguages()
    {
        $sDefLang = \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getOxCookie('oxidadminlanguage');
        $sDefLang = $sDefLang ? $sDefLang : $this->_getBrowserLanguage();

        $aLanguages = \OxidEsales\Eshop\Core\Registry::getLang()->getAdminTplLanguageArray();
        foreach ($aLanguages as $oLang) {
            $oLang->selected = ($sDefLang == $oLang->abbr) ? 1 : 0;
        }

        return $aLanguages;
    }
protected function _getAvailableLanguages()
    {
        $sDefLang = \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getOxCookie('oxidadminlanguage');
        $sDefLang = $sDefLang ? $sDefLang : $this->_getBrowserLanguage();

        $aLanguages = \OxidEsales\Eshop\Core\Registry::getLang()->getAdminTplLanguageArray();
        foreach ($aLanguages as $oLang) {
            $oLang->selected = ($sDefLang == $oLang->abbr) ? 1 : 0;
        }

        return $aLanguages;
    }
protected function _getAvailableLanguages ( ) { $ sDefLang = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsServer ( ) -> getOxCookie ( 'oxidadminlanguage' ) ; $ sDefLang = $ sDefLang ? $ sDefLang : $ this -> _getBrowserLanguage ( ) ; $ aLanguages = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getAdminTplLanguageArray ( ) ; foreach ( $ aLanguages as $ oLang ) { $ oLang -> selected = ( $ sDefLang == $ oLang -> abbr ) ? 1 : 0 ; } return $ aLanguages ; }
Get available admin interface languages

@return array
Get available admin interface languages