mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-08-16 13:09:53 +02:00
🧹 MODS: Handle mods:languageTerm with authority=iso639-2/rfc3066
This commit is contained in:
parent
5f1c1f68a7
commit
64aafbb88c
2 changed files with 13 additions and 0 deletions
|
@ -255,6 +255,7 @@ def mods_to_dict(mods, raise_errors=True):
|
|||
elif tag == "{http://www.loc.gov/mods/v3}languageTerm":
|
||||
value["languageTerm"] = (
|
||||
TagGroup(tag, group)
|
||||
.fix_language_term()
|
||||
.has_attributes({"authority": "iso639-2b", "type": "code"})
|
||||
.text_set()
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue