ontoportal-lirmm / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
0 stars 6 forks source link

Add request language to @context #67

Closed haddadzineddine closed 1 year ago

haddadzineddine commented 1 year ago

Description

When we call this endpoint :

https://data.stageportal.lirmm.fr/ontologies/INRAETHES/classes/http%3A%2F%2Fopendata.inrae.fr%2FthesaurusINRAE%2Fc_2ecd2d30

we will see in the @context the @language of the request, like in the following :

"@context": {
  "@language": "en"
  "@vocab": "http://data.bioontology.org/metadata/",
},

Issue: https://github.com/ontoportal-lirmm/ontologies_linked_data/issues/65

Changes made