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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you initialize the translator in bootstrap by including it in the Zend Registry, maybe you could just unset the
Zend_Translateentry in it from theinit()method of the controller, which is called after the bootstrap.Unsetting a single value in the
Zend_Registryis not so trivial. In short, you need to do something like this:Hope that helps,