[Koha-bugs] [Bug 26392] Wrap all translatable strings in opac-main.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 11 02:03:50 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26392

--- Comment #25 from David Cook <dcook at prosentient.com.au> ---
Regarding the Java method, look at "Fetch the Text from the ResourceBundle" at
https://docs.oracle.com/javase/tutorial/i18n/intro/steps.html. 

In my mind, we'd fetch the relevant translated string using a msgId in the
Perl, and then we'd pass the translated string via a variable to the template.

I think it would make templates look much cleaner and I think that it would
make it easier to handle translations on the backend too.

It could also potentially allow plugins to override the output to the template,
but that's a whole other thing.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list