-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Accept-Language to determine the language parameter to pass to search engines #5
Comments
Yes, great idea. Reading the Accept-Language header and writing a corresponding lr value for Google is doable. Btw, I've checked in my browser (English version of Firefox) for a couple of sites, and the Accept-Language value that the browser is sending is "en-US;en;q=0.5". |
I second this. Currently, Also, all variations of English can safely be mapped to |
The Accept-Language header should be used to determine the language to restrict search results to.
See Accept-Language RFC and Google's language collection values.
DuckDuckGo seems to support the
kl
andkad
parameters that serve a similar function. These should be investigated as well.The text was updated successfully, but these errors were encountered: