Hi All,

I have multi file for translate (tmx) and i want to merge it

One file for global error form, others by controler

$this->translateFormError = new Zend_Translate('tmx', TMX_DIR . '/form_errors.tmx', $this->lang); $translateController = new Zend_Translate('tmx', MODULES_DIR . '/' . $module . '/languages/' . $module . '_' . $controller . '.tmx', $this->lang);
$this->form->setTranslator($this->translateFormError);
$this->form->setTranslator($this->translateController);

How can i solve my probleme with the zend 1.6RC1 ?

It is possible to do this for futur version :
$this->form->setTranslators(array($this->translateFormError, $this->translateController));

Samuel

Reply via email to