Koha::Template::Plugin::I18N - Translate strings in templates
Do not use this plugin directly. Add the following directive
[% PROCESS 'i18n.inc' %]
and use the macros defined here
[% I18N.t("hello") %]
[% I18N.tx("hello {name}", { name = name }) %]
[% I18N.tn("item", "items", count) %]
[% I18N.tnx("{count} item", "{count} items", count, { count = count }) %]
Alias of tnx
[% I18N.tp("context", "hello") %]
[% I18N.tpx("context", "hello {name}", { name = name }) %]
[% I18N.tnp("context", "item", "items") %]
[% I18N.tnpx("context", "{count} item", "{count} items", { count = count }) %]