public function getServerBundle($langCode)
    {
        $cache = $this->getServiceLocator()->get(common_cache_Cache::SERVICE_ID);
        try {
            $translations = $cache->get(self::TRANSLATION_PREFIX.$langCode);
        } catch (common_cache_NotFoundException $ex) {
            $translations = $this->buildServerBundle($langCode);
        }
        return $translations;
    }
public function getServerBundle($langCode)
    {
        $cache = $this->getServiceLocator()->get(common_cache_Cache::SERVICE_ID);
        try {
            $translations = $cache->get(self::TRANSLATION_PREFIX.$langCode);
        } catch (common_cache_NotFoundException $ex) {
            $translations = $this->buildServerBundle($langCode);
        }
        return $translations;
    }
public function getServerBundle ( $ langCode ) { $ cache = $ this -> getServiceLocator ( ) -> get ( common_cache_Cache :: SERVICE_ID ) ; try { $ translations = $ cache -> get ( self :: TRANSLATION_PREFIX . $ langCode ) ; } catch ( common_cache_NotFoundException $ ex ) { $ translations = $ this -> buildServerBundle ( $ langCode ) ; } return $ translations ; }
Returns the translation strings for a given language
Conflicting translations get resolved by order of dependencies
@param string $langCode
@return array translation strings
Returns the translation strings for a given language Conflicting translations get resolved by order of dependencies