Bug 39074 - Exclude subfield lists in XSLT from translation files
Summary: Exclude subfield lists in XSLT from translation files
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-10 10:07 UTC by Igor A. Sychev
Modified: 2025-02-11 08:12 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor A. Sychev 2025-02-10 10:07:47 UTC
515                <xsl:call-template name="subfieldSelect">
  516                     <xsl:with-param name="codes">bcdefghijklmnopqrstvwxyz</xsl:with-param>
  517                </xsl:call-template>

koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl:516
koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl:513
Comment 1 Katrin Fischer 2025-02-10 10:14:49 UTC
Hi Igor, we are aware that these don't need translation, but I am not sure there is currently a solution to exclude them from parsing. I have updated your bug description to be more informative.
Comment 2 Igor A. Sychev 2025-02-11 04:39:18 UTC
Thanks for your reply. 
Is it possible to exclude such lines from the translation?
Does it make sense to write about them?

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36782
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36783
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36784
Comment 3 Katrin Fischer 2025-02-11 08:12:20 UTC
For the template constructs it sure makes sense, because often they can be rewritten to avoid the problem. The XSLT one here is trickier, but also good to have one report for the problem at large.