linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
6 stars 6 forks source link

Resolve issue with labels #216

Closed skodapetr closed 3 years ago

skodapetr commented 3 years ago

There are now few issues connected to labels mainly related to the fact that Virtuoso does not return language tags. This one is not a huge problem if we ask only for one specific language. However, when we ask for multiple languages. A good example are labels for Themes (in multiple languages) or Formats (where there is no cs language).

How should this issue be adressed. It seems like a solution would be to hardcode selection on cs or en (or reverse order fo en users) labels. And then case them to desired language. This would impact performance and may result in situation where en label is returned as cs label ..

Can you come up with a better solution?

jakubklimek commented 3 years ago

This is reported to VOS. Given that this feature is not critical right now, I do not think we need to implement virtuoso-specific workarounds at the moment.