is there any possibility to disable the language translator for a controller? This example controller only delivers images.
$this->_helper->layout->disableLayout();
$this->_helper->translator ???
TIA Matt
is there any possibility to disable the language translator for a controller? This example controller only delivers images.
$this->_helper->layout->disableLayout();
$this->_helper->translator ???
TIA Matt
If you initialize the translator in bootstrap by including it in the Zend Registry, maybe you could just unset the
Zend_Translate
entry in it from theinit()
method of the controller, which is called after the bootstrap.Unsetting a single value in the
Zend_Registry
is not so trivial. In short, you need to do something like this:Hope that helps,