You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the webcomponent it was found for this html config :
<!DOCTYPE html><html><head><title>Test vocab webcomponent</title><scripttype="module" src="https://vocab.vliz.be/webcomponent/main.js"></script></head><body><!-- The widget will be inserted here --><div><h1>Search</h1><vocab-search-barsearch-endpoint="https://vocab.vliz.be/"
languages-string="nl"
></vocab-search-bar></body></html>
The vocab that is loaded in are file dumps from DAMS.
Upon further inspection I found that the language string does filter on the lang tag , so when given nl the results returned only contained concept which had a nl string. It is weird though that the english version was still shown in the search field though instead of the dutch version of the concept.
Hi Cedric,
As you show here, the languages-string-attribute is currently only used as an input to the backend search operation.
The mode of display is independent from the provided languages-string and will always show all languages in the filter results box, and the first language result in the selected box.
Just to clarify what we're aiming for: Both in the filter-results box as in the select-box, you'd like to show only the label in the language corresponding to the provided languages-string. For the above example that would be:
selected box: Zuidpool stereo ...
filter results box: Zuidpool stereografisch
Is that correct?
When testing the webcomponent it was found for this html config :
The vocab that is loaded in are file dumps from DAMS.
It was found that this returned the concepts and showed them in english and not in the requested dutch.
The text was updated successfully, but these errors were encountered: