Bug 41000 - Update label on record detail pages for 041$d - "Spoken language" to "Sung or spoken language"
Summary: Update label on record detail pages for 041$d - "Spoken language" to "Sung or...
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Lari Taskula
QA Contact: David Nind
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-11 10:13 UTC by Lari Taskula
Modified: 2026-02-16 15:44 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement updates the label on detail pages in the staff interface and OPAC for records with a 041$d (MARC21) - Language code of sung or spoken text. It is now labelled as "Sung or spoken language", instead of "Spoken language" --better matching the MARC21 definition. For music libraries, this also more accurately reflects the information for the record.
Version(s) released in:
26.05.00,25.11.02
Circulation function:


Attachments
Bug 41000: Relabel 041$d "spoken language" to "sung or spoken language" (2.14 KB, patch)
2025-10-11 10:23 UTC, Lari Taskula
Details | Diff | Splinter Review
Bug 41000: Relabel 041$d "spoken language" to "sung or spoken language" (2.21 KB, patch)
2026-01-14 18:52 UTC, Lawrence O'Regan-Lloyd
Details | Diff | Splinter Review
Bug 41000: Relabel 041$d "Spoken language" to "Sung or spoken language" (2.50 KB, patch)
2026-01-16 17:50 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Taskula 2025-10-11 10:13:57 UTC
041$d is currently labelled as "Spoken language" in our XSLT templates.

It would be helpful to display the field as "Sung or spoken language" instead.

We have musical libraries where most of the cases it is actually "sung language", so displaying only "spoken language" may be a bit misleading, especially in OPAC.

https://www.loc.gov/marc/bibliographic/bd041.html
Comment 1 Lari Taskula 2025-10-11 10:23:31 UTC
Created attachment 187779 [details] [review]
Bug 41000: Relabel 041$d "spoken language" to "sung or spoken language"

To test:
1. Apply patch
2. Catalog a record with 041$d
3. Navigate to the record details both in staff client and OPAC
4. Observe "Sung or spoken language: <041$d>"
Comment 2 Lawrence O'Regan-Lloyd 2026-01-14 18:52:35 UTC
Created attachment 191436 [details] [review]
Bug 41000: Relabel 041$d "spoken language" to "sung or spoken language"

To test:
1. Apply patch
2. Catalog a record with 041$d
3. Navigate to the record details both in staff client and OPAC
4. Observe "Sung or spoken language: <041$d>"

Signed-off-by: Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org>
Comment 3 David Nind 2026-01-16 17:50:40 UTC
Created attachment 191581 [details] [review]
Bug 41000: Relabel 041$d "Spoken language" to "Sung or spoken language"

Updates the XSLT templates for detail pages in the staff interface
and OPAC to label 041$d in MARC21 as "Sung or spoken language",
matching the MARC21 definition.

For music libraries, this also better reflects the information
about the record.

To test:
1. Apply patch
2. Catalog a record with 041$d
3. Navigate to the record details both in the staff interface
   and OPAC
4. Observe "Sung or spoken language: <041$d>"

Signed-off-by: Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org>
Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2026-01-16 18:01:10 UTC
QA script happy, string change.

I added a description to the commit message (as required by the commit message guidelines https://wiki.koha-community.org/wiki/Commit_messages) and added a release note.
Comment 5 Lucas Gass (lukeg) 2026-01-22 21:17:28 UTC
Nice work everyone!

Pushed to main for 26.05
Comment 6 Jacob O'Mara 2026-02-16 15:44:19 UTC
Thanks all, pushed to 25.11.x