nuxt / website-v2

Nuxt 2 Documentation Website

Home Page:https://v2.nuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algolia Search return results in all languages

mrleblanc101 opened this issue · comments

Algolia Search should only return search results in the language the website has been loading.
Currently, almost every time I do a search in english, the first result is for the spanish translation.
Very annoying !

2022-06-23.17-59-08.mp4

Very annoying indeed, I am native Brazilian and speak fluently Portuguese (the site is displaying Portuguese, not Spanish), nevertheless I prefer to read stuff in English and this is detrimental to my (and everyone else's) experience.

Before seen your issue here, I assumed nuxt.org was getting the default language based on location, and was ready to complain here that the better approach is to always base the default language on the current user's navigator.language and navigator.languages.

But it seems to be a global problem, I wonder what is wrong with this 🤔

Hello guys!
This has been fixed and should be good now. It was about our config of Algolia Crawler.
Really sorry about the delay and the inconvenience!

Feel free to comment/reopen if anything goes wrong with the search.