We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd47c4 commit ab014f2Copy full SHA for ab014f2
ckanext/dcatapchharvest/dcat_helpers.py
@@ -392,7 +392,9 @@ def get_iana_media_type_values():
392
def get_language_uri_map():
393
"""
394
Parses language.xml and builds a mapping:
395
- { 'de': 'http://publications.europa.eu/resource/authority/language/DEU', ... }
+ { 'de': 'http://publications.europa.eu/resource/authority/language/DEU',
396
+ 'en': 'http://publications.europa.eu/resource/authority/language/ENG',
397
+ ...}
398
399
xml_file = os.path.join(__location__, 'language.xml')
400
tree = ET.parse(xml_file)
0 commit comments