diff --git a/.gitignore b/.gitignore index 2bcbcdda3dd15b98c8f1fadc3bcf844f86cf7dad..9355ad0958ccb21d1e8d162eb3012cc504a64d86 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,8 @@ env # nose .noseids + +# pytest [?] +lastfailed +nodeids +stepwise diff --git a/ckanext/odsh/collection/helpers.py b/ckanext/odsh/collection/helpers.py index f3b4e73dba5e0926579d6c947075ab93c7b8416a..4ef9cbcff911dd4e0b32e712a58f39dbe7c4ae23 100644 --- a/ckanext/odsh/collection/helpers.py +++ b/ckanext/odsh/collection/helpers.py @@ -156,4 +156,6 @@ def get_latest_resources_for_format(collection_name, resource_format): return None resources_with_asked_type = [r for r in resources if r.get('format').upper() == resource_format.upper()] resources_sorted = sorted(resources_with_asked_type, key=itemgetter('id','created'), reverse=True) + if len(resources_sorted) == 0: + return None return resources_sorted[-1] diff --git a/ckanext/odsh/helpers_tpsh.py b/ckanext/odsh/helpers_tpsh.py index 927313ed03fa9623f92f4f7e2018ed425c918891..83e7f5217a2cf64c8d3d7c03e88109a0532a91ef 100644 --- a/ckanext/odsh/helpers_tpsh.py +++ b/ckanext/odsh/helpers_tpsh.py @@ -1,9 +1,7 @@ # encoding: utf-8 import csv -import datetime import logging -from string import lower import json import re import urllib2 @@ -13,21 +11,21 @@ import os from ckan.common import config import ckan.lib.helpers as helpers -import ckan.logic.action.create as create import ckan.model as model import ckan.plugins.toolkit as toolkit - import ckanext.odsh.helpers as odsh_helpers + log = logging.getLogger(__name__) + CKAN_TYPES = {'http://dcat-ap.de/def/datasetTypes/collection': 'collection'} def map_dct_type_to_ckan_type(dct_type): ''' - matches the field dct:type from a harvested rdf file + matches the field dct:type from a harvested rdf file to the corresponding ckan package type ''' ckan_type = CKAN_TYPES.get(dct_type) @@ -120,16 +118,6 @@ def get_language_of_package(pkg_dict): language = LANGUAGE_MAPPING.get(language_id) return language -def get_language_icon(pkg_dict): - ICONS = { - "http://publications.europa.eu/resource/authority/language/DAN": '/base/images/icon_lang_danish.png', - "http://publications.europa.eu/resource/authority/language/ENG": '/base/images/icon_lang_english.png', - } - language_id = _get_language_id(pkg_dict) - if not language_id: - return None - return ICONS.get(language_id) - def _get_language_id(pkg_dict): language_id = odsh_helpers.odsh_extract_value_from_extras(pkg_dict.get('extras'), 'language') language_id = pkg_dict.get('language') @@ -142,6 +130,10 @@ def _get_language_id(pkg_dict): language_id_cleaned = re.sub('[\[\]\"]', '', language_id) return language_id_cleaned +def get_language_human_readable(language_id): + LANGUAGE_MAPPING = load_language_mapping() + return LANGUAGE_MAPPING.get(language_id) + def get_spatial_for_selection(): mapping_path = config.get('ckanext.odsh.spatial.mapping') try: @@ -152,10 +144,10 @@ def get_spatial_for_selection(): cr = csv.reader(mapping_file, delimiter="\t") spatial_mapping = list() for row in cr: - key = row[0].decode('UTF-8') + key = row[0].decode('UTF-8') value = row[1].decode('UTF-8') - spatial_mapping.append({'key':key, 'value':value}) - spatial_mapping.append({'key':'', 'value':''}) + spatial_mapping.append({'key': key, 'value': value}) + spatial_mapping.append({'key': '', 'value': ''}) return spatial_mapping def get_subject_for_selection(): @@ -179,7 +171,7 @@ def get_package_dict(name): return package_dict def size_of_fmt(num, suffix='B'): - for unit in ['',' k',' M',' G',' T',' P',' E',' Z']: + for unit in ['', ' k', ' M', ' G', ' T', ' P', ' E', ' Z']: if abs(num) < 1000.0: return "%3.1f%s%s" % (num, unit, suffix) num /= 1000.0 @@ -188,7 +180,7 @@ def size_of_fmt(num, suffix='B'): def get_resource_size(resource): resource_size = resource.get('size') if resource_size: - return size_of_fmt(resource_size) + return size_of_fmt(resource_size) def get_address_org(organization): @@ -222,4 +214,13 @@ def git_commit_hash(): command = 'git log -n 1 --format=%H' except: return 'unknown' - return subprocess.check_output([command], shell=True, cwd=current_dir) \ No newline at end of file + return subprocess.check_output([command], shell=True, cwd=current_dir) + +def is_informationsgegenstand_gerichtsurteil_selected(fields): + try: + return "Gerichtsurteil" in fields["subject_text"] + except KeyError: + return False + except: + log.exception("this should not raise an exception, fix please") + return False diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py index bd7c1688ead2feaf94a1f71f9b4ca484f5b45f08..a8ddffe963c3181c48fd35190b88861549f22cac 100644 --- a/ckanext/odsh/plugin.py +++ b/ckanext/odsh/plugin.py @@ -177,6 +177,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm 'groups': _('Kategorie'), 'subject_text': _('Informationsgegenstand'), 'tags': _('Tags'), + 'language': _('Language'), }) def group_facets(self, facets_dict, group_type, package_type): @@ -220,9 +221,11 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm if resource.get('package_id'): tools.add_attributes_resources(context, resource) - def after_update(self, context, resource): - if resource.get('package_id'): - tools.add_attributes_resources(context, resource) + def after_update(self, context, resource_or_package): + if resource_or_package.get('package_id'): # this is a resource + tools.add_attributes_resources(context, resource_or_package) + else: # this is a package + pass @staticmethod def _update_is_new_in_pkg_dict(pkg_dict): @@ -373,7 +376,6 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm 'odsh_use_matomo': helpers_tpsh.use_matomo, 'tpsh_get_daterange_prettified': helper_pkg_dict.get_daterange_prettified, 'tpsh_get_language_of_package': helpers_tpsh.get_language_of_package, - 'get_language_icon': helpers_tpsh.get_language_icon, 'short_name_for_category': odsh_helpers.short_name_for_category, 'get_spatial_for_selection': helpers_tpsh.get_spatial_for_selection, 'get_subject_for_selection': helpers_tpsh.get_subject_for_selection, @@ -382,6 +384,8 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm 'tpsh_get_address_org':helpers_tpsh.get_address_org, 'tpsh_get_body_mail':helpers_tpsh.get_body_mail, 'tpsh_git_commit_hash': helpers_tpsh.git_commit_hash, + 'tpsh_is_informationsgegenstand_gerichtsurteil_selected': helpers_tpsh.is_informationsgegenstand_gerichtsurteil_selected, + 'tpsh_get_language_human_readable': helpers_tpsh.get_language_human_readable, } @@ -411,7 +415,3 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm score = s if score > 0: dict_pkg['openness'] = OdshPlugin.scores[score-1] - - - - diff --git a/ckanext/odsh/public/base/images/icon_lang_danish.png b/ckanext/odsh/public/base/images/icon_lang_danish.png deleted file mode 100644 index 8a6a9f60bfaa2ab1e7f448063810e93b6a427d1f..0000000000000000000000000000000000000000 Binary files a/ckanext/odsh/public/base/images/icon_lang_danish.png and /dev/null differ diff --git a/ckanext/odsh/public/base/images/icon_lang_english.png b/ckanext/odsh/public/base/images/icon_lang_english.png deleted file mode 100644 index 5999e319634f3a4c68006c44c828ddcc441bafb6..0000000000000000000000000000000000000000 Binary files a/ckanext/odsh/public/base/images/icon_lang_english.png and /dev/null differ diff --git a/ckanext/odsh/public/odsh.css b/ckanext/odsh/public/odsh.css index d057098f3448afbdfb61594557ab0f95ca36ee4c..c987aaced54585315686bb938b4df5310528378e 100644 --- a/ckanext/odsh/public/odsh.css +++ b/ckanext/odsh/public/odsh.css @@ -2837,3 +2837,8 @@ body.filters-modal div.row > aside.secondary.span3 { .tpsh-collection-list { list-style-type: none; } + +.tpsh-hint-gerichtsurteile { + font-size: 18px; + padding-top: 20px; +} diff --git a/ckanext/odsh/public/odsh_header.css b/ckanext/odsh/public/odsh_header.css index b0662f50770cbd29d4dd9d3916155c4dfb36d9e9..c9305fedca8bb969f844b455a41ac54ec8ef8ff5 100644 --- a/ckanext/odsh/public/odsh_header.css +++ b/ckanext/odsh/public/odsh_header.css @@ -42,17 +42,11 @@ padding: 1em 0; } -/* @media (max-width: 767px){ - .header-image { - display: block; - } */ - -.language-switch { +.navbar .nav .language-switch { float: right; - background-color: #f2f2f2; padding: 6px 10px; margin-left: 20px; - height: 44px; /* dirty fix to make it the same height as schleswig-holstein.de */ + height: 41px; } .language-switch ul { @@ -80,19 +74,53 @@ } .language-switch .navLeichteSprache { - background: url(/base/images/sprite.png) no-repeat 6px -5557px; + background: url(/base/images/sprite.png) no-repeat 11px -5555px; font: 0/0 serif; display: block; - height: 20px; + /*height: 20px;*/ width: 20px; overflow: hidden; } -.language-switch .navLeichteSprache:hover { - background: #011e5a url(/base/images/sprite.png) no-repeat 6px -5334px; +.language-switch:hover .navLeichteSprache { + background: url(/base/images/sprite.png) no-repeat 11px -5332px; +} + +.language-switch .navGebaerdensprache { + background: url(/base/images/sprite.png) no-repeat 11px -3385px; + font: 0/0 serif; + display: block; + /*height: 20px;*/ + width: 20px; + overflow: hidden; +} +.language-switch:hover .navGebaerdensprache { + background: url(/base/images/sprite.png) no-repeat 11px -3161px; } +@media (max-width: 767px) { + .language-switch .navLeichteSprache { + background: url(/base/images/sprite.png) no-repeat 11px -5559px; + } + + .language-switch:hover .navLeichteSprache { + background: url(/base/images/sprite.png) no-repeat 11px -5336px; + + } + + .language-switch .navGebaerdensprache { + background: url(/base/images/sprite.png) no-repeat 11px -3389px; + } + + .language-switch:hover .navGebaerdensprache { + background: url(/base/images/sprite.png) no-repeat 11px -3165px; + + } +} + + + .masthead .top-search-form { float:right; background: #f2f2f2; diff --git a/ckanext/odsh/templates/header.html b/ckanext/odsh/templates/header.html index f7419ab93400a1b6850cd432045dcd65e1d3e823..d2d699a4d8a2093f15a3b42083dedd9e0a2f74da 100644 --- a/ckanext/odsh/templates/header.html +++ b/ckanext/odsh/templates/header.html @@ -103,6 +103,14 @@ </a> </li> {% endif %} + <li class="language-switch"> + <a href="https://www.schleswig-holstein.de/tpgebaerdensprache" title="Gebärdensprache" class="navGebaerdensprache"> + </a> + </li> + <li class="language-switch"> + <a href="https://www.schleswig-holstein.de/tpleichtesprache" title="Leichte Sprache" class="navLeichteSprache"> + </a> + </li> </ul> </nav> <nav class="section navigation"> diff --git a/ckanext/odsh/templates/package/search.html b/ckanext/odsh/templates/package/search.html index bf0c5c8adbc9c3ca9b49c6ccd4d914214311982c..41704a012ef1f0ef174372d3db222ba94ad5841e 100644 --- a/ckanext/odsh/templates/package/search.html +++ b/ckanext/odsh/templates/package/search.html @@ -24,6 +24,12 @@ method="get" data-module="select-switch"> {{ super() }} {% endblock %} {% block package_search_results_list %} + {% if h.tpsh_is_informationsgegenstand_gerichtsurteil_selected(c.fields_grouped) %} + <p class="tpsh-hint-gerichtsurteile"> + Gerichtsurteile der Gerichte in Schleswig-Holstein werden nicht im Transparenzportal veröffentlicht sondern bei + <a href="https://www.juris.de">juris.de</a>. + </p> + {% endif %} {{ h.snippet('snippets/package_list.html', packages=c.page.items) }} {% endblock %} </div> diff --git a/ckanext/odsh/templates/package/snippets/info.html b/ckanext/odsh/templates/package/snippets/info.html index 721cc4042219ee5b8e1ab618d347dea3bbc6f3f0..eeb0dd13c957d7898d6bc553d8f4818014d9ad68 100644 --- a/ckanext/odsh/templates/package/snippets/info.html +++ b/ckanext/odsh/templates/package/snippets/info.html @@ -10,7 +10,6 @@ Example: #} {% set daterange = h.tpsh_get_daterange_prettified(pkg) %} -{% set language_icon = h.get_language_icon(pkg) %} {% set license_attribution_by_text = h.odsh_extract_value_from_extras(pkg.extras, 'licenseAttributionByText') %} {% block package_info %} @@ -37,7 +36,6 @@ Example: {% if language_of_package != 'Deutsch' and language_of_package %} <div>{{ _('language') }}:</div> <p> - <img src={{ language_icon }} /> {{ language_of_package }} </p> {% endif %} diff --git a/ckanext/odsh/templates/snippets/facet_list.html b/ckanext/odsh/templates/snippets/facet_list.html index d2b8521998aa412d9b20b7e92d7443c2bfa84bff..ee1bbcbd7a587c0043bfbd178645da749da4b798 100644 --- a/ckanext/odsh/templates/snippets/facet_list.html +++ b/ckanext/odsh/templates/snippets/facet_list.html @@ -44,9 +44,15 @@ {% endif %} <label class="odsh-visible-label" for="check-{{ title.lower() }}-{{ loop.index }}"> + {% if name=='language' %} + <a href="{{ href }}" title="{{ label if label != label_truncated else '' }}"> + <span id="description-{{ title.lower() }}-{{ loop.index }}">{{ h.tpsh_get_language_human_readable(label) }}</span> + </a> + {% else %} <a href="{{ href }}" title="{{ label if label != label_truncated else '' }}"> <span id="description-{{ title.lower() }}-{{ loop.index }}">{{ label }}</span> </a> + {% endif %} </label> </div> <div class="facet_count"> diff --git a/ckanext/odsh/templates/snippets/package_item.html b/ckanext/odsh/templates/snippets/package_item.html index 0867c1d252bac4ff39c3b13798c8a7bc1e345249..15cb6feafc54fc38624fd8303478a7b80b3f1332 100644 --- a/ckanext/odsh/templates/snippets/package_item.html +++ b/ckanext/odsh/templates/snippets/package_item.html @@ -28,7 +28,6 @@ Example: {% set subject_text = h.odsh_extract_value_from_extras(package.extras,'subject_text') if h.odsh_extract_value_from_extras(package.extras,'subject_text') else '-' %} {% set daterange = h.tpsh_get_daterange_prettified(package) %} {% set language_of_package = h.tpsh_get_language_of_package(package) %} -{% set language_icon = h.get_language_icon(package) %} {% set thumbnail = package.get('thumbnail') %} {% set collection = h.get_collection(package) %} {% set successor_url = collection['successor']['url'] if collection else None %} @@ -63,7 +62,6 @@ Example: {% endif %} {% if language_of_package != 'Deutsch' and language_of_package %} <div class='package-info-pill'> - <img src={{ language_icon }} /> {{ language_of_package }} </div> {% endif %} diff --git a/ckanext/odsh/templates/snippets/search_form.html b/ckanext/odsh/templates/snippets/search_form.html index 9e1ea9ed0bb4d3b4941c5f72d83dcbeca6e9521a..ebdcbf4f42164eb50b2153db3be5f1ebf7410608 100644 --- a/ckanext/odsh/templates/snippets/search_form.html +++ b/ckanext/odsh/templates/snippets/search_form.html @@ -69,7 +69,7 @@ </div> {% endif %} {% endblock %} - + {% block search_facets %} {% if facets %} <p class="filter-list"> @@ -77,8 +77,10 @@ {% set search_facets_items = facets.search.get(field)['items'] %} {% for value in facets.fields[field] %} <span class="filtered pill"> - {% if(field=='openness')%} + {% if field == 'openness' %} {{_(value)}} + {%- elif field == 'language' -%} + {{ h.tpsh_get_language_human_readable(value) }} {%- else -%} {%- if facets.translated_fields and facets.translated_fields.has_key((field,value)) -%} {{ facets.translated_fields[(field,value)] }} diff --git a/ckanext/odsh/tests_tpsh/test_validation.py b/ckanext/odsh/tests_tpsh/test_validation.py index d4273be8be748a4118003965756abb7d7d4787ab..2e3c5e7e44a9e6aee86bb62fb09bd50ed04082d7 100644 --- a/ckanext/odsh/tests_tpsh/test_validation.py +++ b/ckanext/odsh/tests_tpsh/test_validation.py @@ -63,15 +63,12 @@ class Test_validate_licenseAttributionByText(WithFrontendValidationMocks): data_mock.update({ ('license_id',): u'http://dcat-ap.de/def/licenses/dl-zero-de/2.0', }) - with nt.assert_raises(toolkit.Invalid) as err: - validate_licenseAttributionByText( - self.key_mock, - data_mock, - self.error_mock, - self.context_mock - ) - nt.assert_equal( - err.exception.error, 'licenseAttributionByText: text not allowed for this license') + validate_licenseAttributionByText( + self.key_mock, + data_mock, + self.error_mock, + self.context_mock + ) class Test_validate_extra_groupsFrontend(WithFrontendValidationMocks): diff --git a/ckanext/odsh/validation.py b/ckanext/odsh/validation.py index 54361f32d6f7c4420c2e7d1216e56582dfb6c601..5817fa644394f2f81254d67b66149493af1f065d 100644 --- a/ckanext/odsh/validation.py +++ b/ckanext/odsh/validation.py @@ -166,10 +166,6 @@ def validate_licenseAttributionByText(key, data, errors, context): raise toolkit.Invalid( 'licenseAttributionByText: empty not allowed') - if (not isByLicense) and hasAttribution: - raise toolkit.Invalid( - 'licenseAttributionByText: text not allowed for this license') - def _isByLicense(data): register = model.Package.get_license_register() diff --git a/language_mapping.json b/language_mapping.json index 808122e6d854b0e9ea1bd006e474830017ef1dc2..c2b8628903a891c0b79fe124592647af8d81f642 100644 --- a/language_mapping.json +++ b/language_mapping.json @@ -1,5 +1,346 @@ { - "http://publications.europa.eu/resource/authority/language/DAN":"Dänisch", - "http://publications.europa.eu/resource/authority/language/DEU":"Deutsch", - "http://publications.europa.eu/resource/authority/language/ENG":"Englisch" -} \ No newline at end of file + "http://publications.europa.eu/resource/authority/language/ENG": "Englisch", + "http://publications.europa.eu/resource/authority/language/ADS": "Adamorobe-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/AED": "Argentinische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/AEN": "Armenische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/AFG": "Afghanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/AFR": "Afrikaans", + "http://publications.europa.eu/resource/authority/language/AKA": "Akan", + "http://publications.europa.eu/resource/authority/language/AMH": "Amharisch", + "http://publications.europa.eu/resource/authority/language/ARA": "Arabisch", + "http://publications.europa.eu/resource/authority/language/ARO": "Araona", + "http://publications.europa.eu/resource/authority/language/ASE": "Amerikanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ASF": "Australische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ASP": "Algerische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ASQ": "Österreichische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ASW": "Aborigines-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/AYM": "Aymara", + "http://publications.europa.eu/resource/authority/language/AYO": "Ayoreo", + "http://publications.europa.eu/resource/authority/language/AZE": "Aserbaidschanisch", + "http://publications.europa.eu/resource/authority/language/BEL": "Weißrussisch", + "http://publications.europa.eu/resource/authority/language/BEN": "Bengalisch", + "http://publications.europa.eu/resource/authority/language/BFI": "Britische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BFK": "Ban-Khor-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BIS": "Bislama", + "http://publications.europa.eu/resource/authority/language/BOD": "Tibetisch", + "http://publications.europa.eu/resource/authority/language/BOG": "Bamako-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BOS": "Bosnisch", + "http://publications.europa.eu/resource/authority/language/BQN": "Bulgarische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BQY": "Benkala-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BRE": "Bretonisch", + "http://publications.europa.eu/resource/authority/language/BRG": "Baure", + "http://publications.europa.eu/resource/authority/language/BUL": "Bulgarisch", + "http://publications.europa.eu/resource/authority/language/BVL": "Bolivianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/BZS": "Brasilianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CAL": "Karolinisch", + "http://publications.europa.eu/resource/authority/language/CAO": "Chácobo", + "http://publications.europa.eu/resource/authority/language/CAS": "Tsimané", + "http://publications.europa.eu/resource/authority/language/CAT": "Katalanisch", + "http://publications.europa.eu/resource/authority/language/CAV": "Cavineña", + "http://publications.europa.eu/resource/authority/language/CAW": "Kallawaya", + "http://publications.europa.eu/resource/authority/language/CAX": "Chiquitano", + "http://publications.europa.eu/resource/authority/language/CAZ": "Canichana", + "http://publications.europa.eu/resource/authority/language/CDS": "Tschadische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CES": "Tschechisch", + "http://publications.europa.eu/resource/authority/language/CHA": "Chamorro", + "http://publications.europa.eu/resource/authority/language/CKB": "Zentralkurdisch", + "http://publications.europa.eu/resource/authority/language/CMN": "Nordchinesischen Dialekte", + "http://publications.europa.eu/resource/authority/language/COR": "Kornisch", + "http://publications.europa.eu/resource/authority/language/COS": "Korsisch", + "http://publications.europa.eu/resource/authority/language/CRS": "Seychellenkreol", + "http://publications.europa.eu/resource/authority/language/CSB": "Kaschubisch", + "http://publications.europa.eu/resource/authority/language/CSC": "Katalanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSD": "Chiangmai-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSE": "Tschechische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSF": "Kubanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSG": "Chilenische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSL": "Chinesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSN": "Kolumbianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSQ": "Kroatische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CSR": "Costa-ricanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/CYB": "Cayubaba", + "http://publications.europa.eu/resource/authority/language/CYM": "Walisisch", + "http://publications.europa.eu/resource/authority/language/DAN": "Dänisch", + "http://publications.europa.eu/resource/authority/language/DEU": "Deutsch", + "http://publications.europa.eu/resource/authority/language/DIV": "Dhivehi", + "http://publications.europa.eu/resource/authority/language/DOQ": "Dominikanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/DSB": "Niedersorbisch", + "http://publications.europa.eu/resource/authority/language/DSE": "Niederländische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/DSL": "Dänische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/DZO": "Dzongkha", + "http://publications.europa.eu/resource/authority/language/ECS": "Ecuadorianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ELL": "Griechisch", + "http://publications.europa.eu/resource/authority/language/EPO": "Esperanto", + "http://publications.europa.eu/resource/authority/language/ESE": "Ese’ejja", + "http://publications.europa.eu/resource/authority/language/ESL": "Ägyptische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ESN": "Salvadorianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ESO": "Estnische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/EST": "Estnisch", + "http://publications.europa.eu/resource/authority/language/ETH": "Äthiopische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/EUS": "Baskisch", + "http://publications.europa.eu/resource/authority/language/EWE": "Ewe", + "http://publications.europa.eu/resource/authority/language/FAO": "Färöisch", + "http://publications.europa.eu/resource/authority/language/FAS": "Persisch", + "http://publications.europa.eu/resource/authority/language/FCS": "Québec-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/FIJ": "Fidschianisch", + "http://publications.europa.eu/resource/authority/language/FIL": "Filipino", + "http://publications.europa.eu/resource/authority/language/FIN": "Finnisch", + "http://publications.europa.eu/resource/authority/language/FRA": "Französisch", + "http://publications.europa.eu/resource/authority/language/FRY": "Friesisch", + "http://publications.europa.eu/resource/authority/language/FSE": "Finnische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/FSL": "Französische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/FSS": "Finnland – schwedische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/FUL": "Fula", + "http://publications.europa.eu/resource/authority/language/FUR": "Furnalnisch", + "http://publications.europa.eu/resource/authority/language/GLA": "Schottisch-Gälisch", + "http://publications.europa.eu/resource/authority/language/GLE": "Irisch", + "http://publications.europa.eu/resource/authority/language/GLG": "Galicisch", + "http://publications.europa.eu/resource/authority/language/GLV": "Manx", + "http://publications.europa.eu/resource/authority/language/GRN": "Guaraní", + "http://publications.europa.eu/resource/authority/language/GSE": "Ghanaische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/GSG": "Deutsche Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/GSM": "Guatemala-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/GSS": "Griechische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/GUG": "Paraguayisches Guaraní", + "http://publications.europa.eu/resource/authority/language/GUS": "Guineische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/GYR": "Guarayu", + "http://publications.europa.eu/resource/authority/language/HAB": "Hanoi-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HAF": "Haiphong-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HAT": "Haitianisch", + "http://publications.europa.eu/resource/authority/language/HAU": "Haussa", + "http://publications.europa.eu/resource/authority/language/HBS": "Serbokroatisch", + "http://publications.europa.eu/resource/authority/language/HCA": "Andamanen-Kreol-Hindi", + "http://publications.europa.eu/resource/authority/language/HDS": "Honduranische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HEB": "Hebräisch", + "http://publications.europa.eu/resource/authority/language/HIF": "Fidschi-Hindi", + "http://publications.europa.eu/resource/authority/language/HIN": "Hindi", + "http://publications.europa.eu/resource/authority/language/HKS": "Hongkong-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HMO": "Hiri Motu", + "http://publications.europa.eu/resource/authority/language/HOS": "Ho-Chi-Minh-Stadt-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HPS": "Hawaiische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HRV": "Kroatisch", + "http://publications.europa.eu/resource/authority/language/HSB": "Obersorbisch", + "http://publications.europa.eu/resource/authority/language/HSH": "Ungarische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HSL": "Hausa-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/HUN": "Ungarisch", + "http://publications.europa.eu/resource/authority/language/HYE": "Armenisch", + "http://publications.europa.eu/resource/authority/language/IBO": "Igbo", + "http://publications.europa.eu/resource/authority/language/ICL": "Isländische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/IGN": "Ignaciano", + "http://publications.europa.eu/resource/authority/language/INA": "Interlingua", + "http://publications.europa.eu/resource/authority/language/IND": "Indonesisch", + "http://publications.europa.eu/resource/authority/language/INL": "Indonesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/INS": "Indische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ISE": "Italienische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ISG": "Irische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ISL": "Isländisch", + "http://publications.europa.eu/resource/authority/language/ISR": "Israelische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ITA": "Italienisch", + "http://publications.europa.eu/resource/authority/language/ITE": "Itene", + "http://publications.europa.eu/resource/authority/language/ITO": "Itonama", + "http://publications.europa.eu/resource/authority/language/JCS": "Jamaikanische ländliche Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/JHS": "Jhankot-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/JOS": "Jordanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/JPN": "Japanisch", + "http://publications.europa.eu/resource/authority/language/JSL": "Japanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/JUS": "Jumla-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/KAL": "Grönländisch", + "http://publications.europa.eu/resource/authority/language/KAT": "Georgisch", + "http://publications.europa.eu/resource/authority/language/KAZ": "Kasachisch", + "http://publications.europa.eu/resource/authority/language/KGI": "Selangor-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/KHM": "Khmer", + "http://publications.europa.eu/resource/authority/language/KIN": "Kinyarwanda", + "http://publications.europa.eu/resource/authority/language/KIR": "Kirgisisch", + "http://publications.europa.eu/resource/authority/language/KMR": "Kurmandschi", + "http://publications.europa.eu/resource/authority/language/KON": "Kikongo", + "http://publications.europa.eu/resource/authority/language/KOR": "Koreanisch", + "http://publications.europa.eu/resource/authority/language/KUR": "Kurdisch", + "http://publications.europa.eu/resource/authority/language/KVK": "Koreanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/KXD": "Brunei Malay", + "http://publications.europa.eu/resource/authority/language/LAO": "Laotisch", + "http://publications.europa.eu/resource/authority/language/LAT": "Latein", + "http://publications.europa.eu/resource/authority/language/LAV": "Lettisch", + "http://publications.europa.eu/resource/authority/language/LBS": "Libysche Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LEC": "Leco", + "http://publications.europa.eu/resource/authority/language/LIN": "Lingála", + "http://publications.europa.eu/resource/authority/language/LIT": "Litauisch", + "http://publications.europa.eu/resource/authority/language/LLS": "Litauische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LSG": "Lyoner Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LSL": "Lettische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LSO": "Laotische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LSP": "Panamaische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LST": "Trinidadadische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/LTZ": "Luxemburgisch", + "http://publications.europa.eu/resource/authority/language/LUA": "Tschiluba", + "http://publications.europa.eu/resource/authority/language/MAH": "Marshallesisch", + "http://publications.europa.eu/resource/authority/language/MAN": "Manding", + "http://publications.europa.eu/resource/authority/language/MDL": "Maltesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MFS": "Mexikanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MIN": "Minangkabau", + "http://publications.europa.eu/resource/authority/language/MIS": "Einzelne andere Sprachen", + "http://publications.europa.eu/resource/authority/language/MKD": "Mazedonisch", + "http://publications.europa.eu/resource/authority/language/MLG": "Malagasy", + "http://publications.europa.eu/resource/authority/language/MLT": "Maltesisch", + "http://publications.europa.eu/resource/authority/language/MNK": "Mandinka", + "http://publications.europa.eu/resource/authority/language/MON": "Mongolisch", + "http://publications.europa.eu/resource/authority/language/MPD": "Machinere", + "http://publications.europa.eu/resource/authority/language/MRE": "Martha’s Vineyards Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MRI": "Maori", + "http://publications.europa.eu/resource/authority/language/MSD": "Maya-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MSR": "Mongolische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MTP": "Wichí Lhamtés Nocten", + "http://publications.europa.eu/resource/authority/language/MUL": "Mehrere Sprachen", + "http://publications.europa.eu/resource/authority/language/MYA": "Birmanisch", + "http://publications.europa.eu/resource/authority/language/MZC": "Madagassische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/MZG": "Mönchische Gebärdensprachen", + "http://publications.europa.eu/resource/authority/language/MZP": "Movima", + "http://publications.europa.eu/resource/authority/language/MZY": "Mozambikanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NAU": "Nauruisch", + "http://publications.europa.eu/resource/authority/language/NBL": "Süd-Ndebele", + "http://publications.europa.eu/resource/authority/language/NBS": "Namibische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NCS": "Nicaraguanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NEP": "Nepali", + "http://publications.europa.eu/resource/authority/language/NIU": "Niueanisch", + "http://publications.europa.eu/resource/authority/language/NLD": "Niederländisch", + "http://publications.europa.eu/resource/authority/language/NNO": "Nynorsk", + "http://publications.europa.eu/resource/authority/language/NOB": "Bokmål", + "http://publications.europa.eu/resource/authority/language/NOR": "Norwegisch", + "http://publications.europa.eu/resource/authority/language/NSI": "Nigerianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NSL": "Norwegische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NSO": "Nord-Sotho", + "http://publications.europa.eu/resource/authority/language/NSP": "Nepalesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NSR": "Maritime Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/NYA": "Chichewa", + "http://publications.europa.eu/resource/authority/language/NZS": "Neuseeländische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/OCI": "Okzitanisch", + "http://publications.europa.eu/resource/authority/language/OSS": "Ossetisch", + "http://publications.europa.eu/resource/authority/language/PAN": "Panjabi", + "http://publications.europa.eu/resource/authority/language/PAP": "Papiamentu", + "http://publications.europa.eu/resource/authority/language/PAU": "Palauisch", + "http://publications.europa.eu/resource/authority/language/PCP": "Pacahuara", + "http://publications.europa.eu/resource/authority/language/PIH": "Pitcairn-Englisch", + "http://publications.europa.eu/resource/authority/language/PKS": "Pakistanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/POL": "Polnisch", + "http://publications.europa.eu/resource/authority/language/POR": "Portugiesisch", + "http://publications.europa.eu/resource/authority/language/PRL": "Peruanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PRS": "Dari", + "http://publications.europa.eu/resource/authority/language/PRZ": "Providencia-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSC": "Persische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSD": "Plains Indian-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSG": "Penang-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSL": "Puerto-ricanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSM": "Pauserna", + "http://publications.europa.eu/resource/authority/language/PSO": "Polnische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSP": "Philippinische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PSR": "Portugiesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/PUQ": "Puquina", + "http://publications.europa.eu/resource/authority/language/PUS": "Paschtunisch", + "http://publications.europa.eu/resource/authority/language/QUE": "Quechua", + "http://publications.europa.eu/resource/authority/language/RAR": "Rarotonganisch", + "http://publications.europa.eu/resource/authority/language/REY": "Reyesano", + "http://publications.europa.eu/resource/authority/language/RMS": "Rumänische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ROH": "Rumantsch", + "http://publications.europa.eu/resource/authority/language/ROM": "Romani", + "http://publications.europa.eu/resource/authority/language/RON": "Rumänisch", + "http://publications.europa.eu/resource/authority/language/RSI": "Rennellese-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/RSL": "Russische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/RUN": "Kirundi", + "http://publications.europa.eu/resource/authority/language/RUS": "Russisch", + "http://publications.europa.eu/resource/authority/language/SAG": "Sango", + "http://publications.europa.eu/resource/authority/language/SCO": "Scots", + "http://publications.europa.eu/resource/authority/language/SDH": "Südkurdisch", + "http://publications.europa.eu/resource/authority/language/SDL": "Saudi-Arabische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SFS": "Südafrikanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SGG": "Deutschschweizer Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SGX": "Sierra-Leonische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SIN": "Singhalesisch", + "http://publications.europa.eu/resource/authority/language/SIP": "Denjongka", + "http://publications.europa.eu/resource/authority/language/SLF": "Tessiner Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SLK": "Slowakisch", + "http://publications.europa.eu/resource/authority/language/SLS": "Singapurianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SLV": "Slowenisch", + "http://publications.europa.eu/resource/authority/language/SME": "Nordsamisch", + "http://publications.europa.eu/resource/authority/language/SMO": "Samoanisch", + "http://publications.europa.eu/resource/authority/language/SOM": "Somali", + "http://publications.europa.eu/resource/authority/language/SOT": "Sesotho", + "http://publications.europa.eu/resource/authority/language/SPA": "Spanisch", + "http://publications.europa.eu/resource/authority/language/SQI": "Albanisch", + "http://publications.europa.eu/resource/authority/language/SQS": "Sri-lankische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SRP": "Serbisch", + "http://publications.europa.eu/resource/authority/language/SRQ": "Sirionó", + "http://publications.europa.eu/resource/authority/language/SSP": "Spanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SSR": "Westschweizer Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SSW": "Siswati", + "http://publications.europa.eu/resource/authority/language/SVK": "Slowakische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SWA": "Swahili", + "http://publications.europa.eu/resource/authority/language/SWB": "Komorisch", + "http://publications.europa.eu/resource/authority/language/SWE": "Schwedisch", + "http://publications.europa.eu/resource/authority/language/SWL": "Schwedische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/SYY": "Al-Sayyid-Beduinen-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TAM": "Tamilisch", + "http://publications.europa.eu/resource/authority/language/TET": "Tetum", + "http://publications.europa.eu/resource/authority/language/TGK": "Tadschikisch", + "http://publications.europa.eu/resource/authority/language/THA": "Thailändisch", + "http://publications.europa.eu/resource/authority/language/TIR": "Tigrinya", + "http://publications.europa.eu/resource/authority/language/TKL": "Tokelauisch", + "http://publications.europa.eu/resource/authority/language/TNA": "Tacana", + "http://publications.europa.eu/resource/authority/language/TNO": "Toromono", + "http://publications.europa.eu/resource/authority/language/TON": "Tongaisch", + "http://publications.europa.eu/resource/authority/language/TPI": "Tok Pisin", + "http://publications.europa.eu/resource/authority/language/TPJ": "Tapieté", + "http://publications.europa.eu/resource/authority/language/TRN": "Trinitario", + "http://publications.europa.eu/resource/authority/language/TSE": "Tunesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TSM": "Türkische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TSN": "Setswana", + "http://publications.europa.eu/resource/authority/language/TSO": "Xitsonga", + "http://publications.europa.eu/resource/authority/language/TSQ": "Thai-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TSS": "Taiwanesische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TSY": "Tebul Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/TUK": "Turkmenisch", + "http://publications.europa.eu/resource/authority/language/TUR": "Türkisch", + "http://publications.europa.eu/resource/authority/language/TVL": "Tuvaluisch", + "http://publications.europa.eu/resource/authority/language/TZA": "Tansanische Gebärdensprachen", + "http://publications.europa.eu/resource/authority/language/TZM": "Zentralatlas-Tamazight", + "http://publications.europa.eu/resource/authority/language/UGN": "Ugandische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/UGY": "Uruguayische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/UKL": "Ukrainische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/UKR": "Ukrainisch", + "http://publications.europa.eu/resource/authority/language/UKS": "Urubú-Kaapor-Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/UND": "Unbekannt", + "http://publications.europa.eu/resource/authority/language/URD": "Urdu", + "http://publications.europa.eu/resource/authority/language/URE": "Uruquilla", + "http://publications.europa.eu/resource/authority/language/UZB": "Usbekisch", + "http://publications.europa.eu/resource/authority/language/VEN": "Tshivenda", + "http://publications.europa.eu/resource/authority/language/VIE": "Vietnamesisch", + "http://publications.europa.eu/resource/authority/language/VLS": "Flämisch", + "http://publications.europa.eu/resource/authority/language/VSI": "Moldauische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/VSL": "Venezolanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/VSV": "Valencianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/WLN": "Wallonisch", + "http://publications.europa.eu/resource/authority/language/WOL": "Wolof", + "http://publications.europa.eu/resource/authority/language/XHO": "isiXhosa", + "http://publications.europa.eu/resource/authority/language/XKI": "Kenianische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/XML": "Malaysische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/XMS": "Marokkanische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/YAA": "Yaminahua", + "http://publications.europa.eu/resource/authority/language/YID": "Jiddisch", + "http://publications.europa.eu/resource/authority/language/YOR": "Yoruba", + "http://publications.europa.eu/resource/authority/language/YSL": "Jugoslawische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/YUE": "Kantonesisch", + "http://publications.europa.eu/resource/authority/language/YUQ": "Yuqui", + "http://publications.europa.eu/resource/authority/language/YUZ": "Yuracare", + "http://publications.europa.eu/resource/authority/language/ZHO": "Chinesisch", + "http://publications.europa.eu/resource/authority/language/ZIB": "Simbabwische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ZLM": "Malaiisch", + "http://publications.europa.eu/resource/authority/language/ZSL": "Sambische Gebärdensprache", + "http://publications.europa.eu/resource/authority/language/ZUL": "Zulu", + "http://publications.europa.eu/resource/authority/language/ZXX": "Kein linguistischer Inhalt", + "http://publications.europa.eu/resource/authority/language/SGN": "Gebärdensprachen", + "http://publications.europa.eu/resource/authority/language/SLA": "Slawische Sprachen", + "http://publications.europa.eu/resource/authority/language/0D0": "Valencianisch", + "http://publications.europa.eu/resource/authority/language/MSA": "Malaysisch", + "http://publications.europa.eu/resource/authority/language/0E0": "Montenegrinisch", + "http://publications.europa.eu/resource/authority/language/CNR": "Montenegrinisch", + "http://publications.europa.eu/resource/authority/language/MOL": "Moldauisch", + "http://publications.europa.eu/resource/authority/language/OP_DATPRO": "Vorläufige Daten" +}