OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
currently if you parse a document on Wasserspeicherfähigkeit, an object is returned with the german title, abstract. However the original document also has english translations for these fields. I would like an option to either store both, or prefer the english translation (if the document has it)
what is an optimal approach here?
add a parameter preferLanguage=en to the owslib import, which locates a selected translation and returns default if no match
try to store both, md.identifiation.title.{language}, for backwards compatibility, when users request md.identifiation.title the default language is returned
currently if you parse a document on Wasserspeicherfähigkeit, an object is returned with the german title, abstract. However the original document also has english translations for these fields. I would like an option to either store both, or prefer the english translation (if the document has it)
what is an optimal approach here?