Closed ddrury closed 10 years ago
This was raised as bug https://bugs.launchpad.net/webtrees/+bug/1261704
I am preparing to replace ZF1 with ZF2. ZF2 does not have the Zend_Registry concept.
I have temporarily added this code back in, for the benefit of custom modules.
A
Hi Greg,
We used to be able to do Zend_Registry::get('Zend_Translate')->addTranslation(new Zend_Translate('gettext', $xlation_file, WT_LOCALE)); in the module constructor to load any local translations
Recent change entitled 'Tidy up I18N + rtl libraries' seems to have broken this - how do we do it now?