diff --git a/library/Application/Controller/Plugin/Lang.php b/library/Application/Controller/Plugin/Lang.php index ec097d594..5365145f8 100644 --- a/library/Application/Controller/Plugin/Lang.php +++ b/library/Application/Controller/Plugin/Lang.php @@ -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); } } \ No newline at end of file