Skip to content
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

Option for language settings for search results. #15

Open
vijaydaultani opened this issue Apr 9, 2018 · 1 comment
Open

Option for language settings for search results. #15

vijaydaultani opened this issue Apr 9, 2018 · 1 comment

Comments

@vijaydaultani
Copy link

I use this workflow from Japan and by default all the suggestions made by this workflow are based in Japanese.

Therefore I assume it is based on the user's geographical location. Is it possible if I can change language to English?

@typoman
Copy link

typoman commented Feb 7, 2019

You can do it by opening the workflow package contents and then google/google.py file and change the following line:

self.url = u"http://www.google.com/search?" + urlencode({'q': self.query})

to:

self.url = u"http://www.google.com/search?" + urlencode({'q': self.query}) + "&hl=en"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants