[Koha-bugs] [Bug 31503] Allow several consent types on the consents tab of OPAC account page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 15 13:24:09 CEST 2023


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

--- Comment #86 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Martin Renvoize from comment #85)
> Finally.. and this one may be more of a blocker.  I'm not sure how one would
> go about translating the description blocks introduced by plugins. We could
> pass language (or rely on context) through the available types method.. in
> fact, perhaps that's the answer.. we just leave it to the plugin author to
> look at lang from context and return the right thing when
> 'patron_consent_type' is called.  I'd love to see this in the example plugin
> to highlight it's possible and works.. I may add that shortly if I can find
> a few more minutes.

Thx Martin. Yes, I had a nl-NL key in my testing. Works fine. And will start
using this approach in 22.11 soon.
It feels like translation should be handled elsewhere. But we are waiting for
long already on translation for authorised values, database translation, etc.
So this is sufficient for now. Normally a local plugin will not contain many
translations.

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


More information about the Koha-bugs mailing list