Hello,

I am implementing Zend_Translate in an application, but right now, I have
initialize the object in each controller using the init() method. Is it
possible to create a Zend_Translate object to be available in all the views?

Should I create a instance of it in the bootstrap file? What would be the
simplest approach?

I have something like this in each init():

        $translate = new Zend_Translate('csv', LANG_EN);
        $this->view->translate = $translate;

Thanks
-- 
View this message in context: 
http://www.nabble.com/Zend_Translator-globally-available-tp15831648s16154p15831648.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to