Problem
The api-gateway /search endpoint does not support searching in languages other than the ontology's default language when using database=ontoportal. Users working with multilingual ontologies (e.g., GEMET available in FR, DE, IT, ES) cannot query concepts in their preferred language or receive language-specific labels in the response.
A francophone user searching for "eau" cannot retrieve French labels through the gateway, because the request reaches OntoPortal without any language hint.
Example
Before: ?query=eau&targetDbSchema=ontoportal → no lang forwarded → OntoPortal defaults to English
After: ?query=eau&lang=fr&targetDbSchema=ontoportal → lang=fr forwarded → French labels returned
Problem
The api-gateway /search endpoint does not support searching in languages other than the ontology's default language when using database=ontoportal. Users working with multilingual ontologies (e.g., GEMET available in FR, DE, IT, ES) cannot query concepts in their preferred language or receive language-specific labels in the response.
A francophone user searching for "eau" cannot retrieve French labels through the gateway, because the request reaches OntoPortal without any language hint.
Example
Before:
?query=eau&targetDbSchema=ontoportal→ no lang forwarded → OntoPortal defaults to EnglishAfter:
?query=eau&lang=fr&targetDbSchema=ontoportal→lang=frforwarded → French labels returned