Open c-ehrlich opened 1 year ago
Do you know how to set this up in Algolia for it to index properly?
Astro docs have it so we could take a look at what they're doing. I'm still traveling rn but if this is still open a week or two from now I'll take it on :)
Was trying to tackle this issue, from what I could gather, though the astro docs have a nice abstraction over the translations for the modal itself, the magic happens here in this DocSearch.tsx file
Particularly this line here
searchParameters={{ facetFilters: [[`lang:${lang}`]] }}
Running it locally however only works if passing the en
, thus was wondering, are the docs only being indexed in english?
Provide environment information
.
Describe the bug
The search widget currently searches the English site, no matter which language is set.
To reproduce
Additional information
No response