Handling langTag in the /paginated, /all, /facet, and /page/{uri} endpoint. We get the language value from the state instead of the perspective configuration.
How to use:
In each perspective.json file, there is a variable enableDynamicLanguageChange used to choose the langTag from the UI selection, or the langTag defined in perspective.json file. If enableDynamicLanguageChange is set to true, then the langTag from the UI selection is enabled, and vice versa.
If the language filter is considered, the sparql query need to have the filter query, for example
What have been done:
/paginated
,/all
,/facet
, and/page/{uri}
endpoint. We get the language value from the state instead of the perspective configuration.How to use:
perspective.json
file, there is a variableenableDynamicLanguageChange
used to choose the langTag from the UI selection, or the langTag defined inperspective.json
file. IfenableDynamicLanguageChange
is set totrue
, then the langTag from the UI selection is enabled, and vice versa.