-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local translations for modules #59
Comments
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 |
Closed
This was referenced Oct 12, 2019
Closed
This was referenced May 5, 2020
ghost
mentioned this issue
Aug 9, 2020
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: