protected function getLanguagesInstall()
    {
        $languages = array();

        foreach ($this->language->getList() as $code => $language) {
            if ($code === 'en' || is_file($this->translation->getFile($code))) {
                $languages[$code] = $language;
            }
        }

        return $languages;
    }
protected function getLanguagesInstall()
    {
        $languages = array();

        foreach ($this->language->getList() as $code => $language) {
            if ($code === 'en' || is_file($this->translation->getFile($code))) {
                $languages[$code] = $language;
            }
        }

        return $languages;
    }
protected function getLanguagesInstall ( ) { $ languages = array ( ) ; foreach ( $ this -> language -> getList ( ) as $ code => $ language ) { if ( $ code === 'en' || is_file ( $ this -> translation -> getFile ( $ code ) ) ) { $ languages [ $ code ] = $ language ; } } return $ languages ; }
Returns an array of existing languages
@return array
Returns an array of existing languages