concrete/src/Localization/Localization.php
public function getActiveTranslateObject()
    {
        $adapter = $this->getTranslatorAdapter($this->getActiveContext());
        if (is_object($adapter)) {
            return $adapter->getTranslator();
        }

        return null;
    }
public function getActiveTranslateObject()
    {
        $adapter = $this->getTranslatorAdapter($this->getActiveContext());
        if (is_object($adapter)) {
            return $adapter->getTranslator();
        }

        return null;
    }
public function getActiveTranslateObject ( ) { $ adapter = $ this -> getTranslatorAdapter ( $ this -> getActiveContext ( ) ) ; if ( is_object ( $ adapter ) ) { return $ adapter -> getTranslator ( ) ; } return null ; }
Gets the translator object for the active context.

@deprecated Use translator adapters instead

@return ZendTranslator|null
Gets the translator object for the active context .