Closed simevidas closed 5 years ago
This is a good start and fixes the issue for the majority of our users, but it's English centric. I've filed #5 for more robust language support using the Accept-Language header.
That said, I'll test/merge/deploy this, thanks for the PR!
I tried to change my default Google search results language to Spanish, hoping to get the Spanish version of the Array.forEach docs, but it showed the English version regardless.
When I search normally on an account configured for Spanish, unfortunately, the English version appears above the Spanish version. With this as the case, it seems we can't get an easy shot at localization and that this PR might make things work better for our users, but I'm still not entirely sure.
It's been a while and we just changed to DuckDuckGo. Could implement the same thing in the DuckDuckGo URL if it helps people though!
Seems to work on my machine. Please test first!