Bug 39627 - Language codes are missing from LANG authorized value
Summary: Language codes are missing from LANG authorized value
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-14 15:02 UTC by Esther Melander
Modified: 2025-04-22 14:47 UTC (History)
1 user (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 Esther Melander 2025-04-14 15:02:54 UTC
According to the manual, the LANG authorized value ships with Koha. However, there are no values for the category. The description says it should have ISO 639-2 standard language codes.

If a library adds the LANG authorized value to a tag subfield, such as the 041$a, they have no options available.
Comment 1 Katrin Fischer 2025-04-15 11:19:53 UTC
What do you mean with "they have no options available"?
Comment 2 Esther Melander 2025-04-15 15:18:30 UTC
The authorized value category is there, but has no values. If a user adds the LANG authorized value category to a framework tag subfield and then tries to use the drop down in the basic editor, there are no values.

A user would expect there to be values since the category is included in a default installation.
Comment 3 Katrin Fischer 2025-04-22 14:47:50 UTC
Hm, I think I remember that we added the category because it's used in UNIMARC frameworks. But I am not sure if there is a full list somewhere. 

The only thing I'd dread a little is having to translate language names a third time.... (XSLT, installer and staff interface all have separate po files...).