[Bug 35902] New: Add English country and language codes as authorised values to be using in cataloguing MARC21 008 builder plugin
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Bug ID: 35902 Summary: Add English country and language codes as authorised values to be using in cataloguing MARC21 008 builder plugin Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: aleisha@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl When editing a biblio record, you can launch a builder plugin for 008. Positions 15 to 17 hold a two- or three-character alphabetic code that indicates the place of publication, production, or execution. There is a link to a MARC Code List for Countries Positions 35 to 37 hold a three-character alphabetic code for language. There is a link to a MARC Code List for Languages. It would be helpful if these codes were available as authorised value categories, to prevent user typing error. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |aleisha@catalyst.net.nz |ity.org | Change sponsored?|--- |Sponsored Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |esther.melander@bywatersolu | |tions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #1 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 161475 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161475&action=edit Bug 35902: [WIP] -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I was going to comment in favor of a "hardcoded" list over an AV as it will allow for much easier translation and maintenance - glad to see this is moving that direction already! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Eric Phetteplace <ephetteplace@cca.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ephetteplace@cca.edu -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Angela Berrett <angela.berrett@familysearch.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |angela.berrett@familysearch | |.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Mathieu Saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com --- Comment #3 from Mathieu Saby <mathsabypro@gmail.com> --- Note that in UNIMARC we have a dropdown list for the language in 101$a field, which seems to be equivalent to 008 in MARC21. Would it be possible to use the same list ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #4 from Mathieu Saby <mathsabypro@gmail.com> --- Same remark for countries (102$a field in UNIMARC) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #5 from David Cook <dcook@prosentient.com.au> --- Created attachment 204536 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204536&action=edit Pure-JS workaround This screenshot shows a pure Javascript workaround I did to provide a dropdown/select list for the 15-17 position in the MARC21 008 field. I also have an input box in the event that they want to put in some other code for whatever reason... maybe the list is outdated or something. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=11669 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- Note that bug 20364 added "isc/maintenance/generate_MARC21Languages.pl" which fetches http://www.loc.gov/standards/codelists/languages.xml For countries, we could fetch https://www.loc.gov/standards/codelists/countries.xml -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |dcook@prosentient.com.au |y.org | --- Comment #7 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #5)
Created attachment 204536 [details] Pure-JS workaround
This screenshot shows a pure Javascript workaround I did to provide a dropdown/select list for the 15-17 position in the MARC21 008 field. I also have an input box in the event that they want to put in some other code for whatever reason... maybe the list is outdated or something.
The reason why I have opted initially for a pure Javascript workaround was to get a sense of what the UI could look like, and because I think the existing XML-based system might not work for positions that are a range instead of a single position? Bug 11669 talks about MARC 008 builder having URLs for MARC country/language codes, but I'm guessing that might be old functionality? -- In any case, I'm interested in this one for sure. I think it's a very reasonable change to make. (The only thing I'm unsure about is whether to force users to choose from a select list or if it should be a select list OR manual input... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Katrin Fischer from comment #2)
I was going to comment in favor of a "hardcoded" list over an AV as it will allow for much easier translation and maintenance - glad to see this is moving that direction already!
We already have multiple language lists to translate currently, if possible it would be nice to merge those into a single list (having translated them multiple times already). We have a country list in the system preference for HEA and a language list in the XSLT for the OPAC. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35902 --- Comment #9 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #8)
(In reply to Katrin Fischer from comment #2)
I was going to comment in favor of a "hardcoded" list over an AV as it will allow for much easier translation and maintenance - glad to see this is moving that direction already!
We already have multiple language lists to translate currently, if possible it would be nice to merge those into a single list (having translated them multiple times already).
We have a country list in the system preference for HEA and a language list in the XSLT for the OPAC.
I'm not sure how to handle that situation but +1 from me -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org