Forward the language of the search UI to the API

This allows searching in a language-dependent manner, e.g. choose the correct labels for the relevant vocabularies.

I also removed the automatic reload as we never change the UI language without reloading the page and the order in which the scripts are included ensure the window object is populated. (We already rely on this for the API_URL.)

Merge request reports

Loading