[Koha-devel] JSON templates and translation

Fridolin SOMERS fridolin.somers at biblibre.com
Fri Jul 17 09:51:30 CEST 2020


Hi,

We faced a bug on a JSON template broken by PO translation of the column 
"borrowernumber"
/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt

How could we avoid this ?

1/
Disable translation of JSON templates and JS caller must translate using 
_().

2/
Add a way to define string to translate in JSON templates, like _() in JS.

Best regards,

-- 
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France


More information about the Koha-devel mailing list