[Koha-bugs] [Bug 25099] Sending a LANG variable to plug-in template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 4 13:02:26 CEST 2020


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Nicolas Legrand from comment #4)
> So should we send a LANG variable to template with
> C4::Languages::getlanguage and create an “official way to do translations in
> plug-ins” or should anyone get along with what fits him most and use
> C4::Languages::getlanguage directly from its own plug-in?

I agree with stashing the LANG variable like this, and also agree it should be
done using getlanguages() as the PayPal plugin does, but in Base.pm.

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


More information about the Koha-bugs mailing list