issue #0001547 : Set in registry
This commit is contained in:
parent
e536a09fd4
commit
6d92543216
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user