Skip to content

Commit

Permalink
$438 label in locale lang
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGe committed May 29, 2020
1 parent ca240bb commit 2712ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atramhasis/views/views.py
Expand Up @@ -109,7 +109,7 @@ def conceptscheme_view(self):
scheme_id = self.request.matchdict['scheme_id']
provider = self.request.skos_registry.get_provider(scheme_id)
conceptscheme = provider.concept_scheme
title = conceptscheme.label().label if (conceptscheme.label()) else scheme_id
title = conceptscheme.label(self.request.locale_name).label if (conceptscheme.label(self.request.locale_name)) else scheme_id

scheme = {
'scheme_id': scheme_id,
Expand Down

0 comments on commit 2712ef4

Please sign in to comment.