issue #0001547 : Set in registry

This commit is contained in:
Michael RICOIS 2013-05-29 08:58:14 +00:00
parent e536a09fd4
commit 6d92543216

View File

@ -43,5 +43,9 @@ class Application_Controller_Plugin_Lang extends Zend_Controller_Plugin_Abstract
)
);
$translate->setLocale($locale);
$registry = Zend_Registry::getInstance();
$registry->set('Zend_Locale', $locale);
$registry->set('Zend_Translate', $translate);
}
}