[Koha-bugs] [Bug 24661] Inclusion of locale-related javascript files is broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 10:03:57 CET 2020


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 98913
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98913&action=edit
Bug 24661: Fix inclusion of locale-related javascript files

Bug 21156 adds 2 js files (Gettext.js, i18n.js) + 1 generated js file
(locale_data.js). Their URL are broken and the files are not loaded.

Use Template::Toolkit plugin Asset to include these files, and exclude
locale_data.js when language is english, because obviously translations
are not needed in this case.

Test plan:
1. Just make sure the files mentioned above are loaded correctly when in
   English and in other languages as well

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


More information about the Koha-bugs mailing list