Closed luddaniel closed 3 months ago
Seems fixed by https://github.com/ontoportal-lirmm/ontologies_api/pull/82 But I still experience weird stuff :
Without parameter language
With language=fr
What do you think about it @syphax-bouazzouni ?
Seems fixed by ontoportal-lirmm/ontologies_api#82 But I still experience weird stuff :
Without parameter
language
With
language=fr
What do you think about it @syphax-bouazzouni ?
@luddaniel, when you do lang=fr
it means you filter/search only in values labeled with French tag. It does not mean you display the results in french.
Trouble was with language
that does not behave like lang
.
I have a really good behavious with https://data.agroportal.lirmm.fr/search?q=poulard&lang=en,fr
Having both search and result in french and english.
Good job, this closes the issue.
Describe the bug While using API
/search
query parameterlang
orlanguage
is not taken in account.To Reproduce Example : https://data.agroportal.lirmm.fr/search?pagesize=1&q=phylloxera&language=en Result:
Expected behavior
prefLabel
andsynonym
should only contain the specified language. Also, it should be possible to specify many languages likelanguage=en,fr