Skip to content
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

Closed
ddrury opened this issue Dec 18, 2013 · 1 comment
Closed

Local translations for modules #59

ddrury opened this issue Dec 18, 2013 · 1 comment

Comments

@ddrury
Copy link
Contributor

ddrury commented Dec 18, 2013

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?

@fisharebest
Copy link
Owner

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

@ricklach ricklach mentioned this issue Jul 11, 2019
@makitso makitso mentioned this issue Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants