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

is it available to show another language? #3

Closed
geochilmaru opened this issue Dec 3, 2019 · 3 comments
Closed

is it available to show another language? #3

geochilmaru opened this issue Dec 3, 2019 · 3 comments

Comments

@geochilmaru
Copy link

Hi,

I would like to use this to my ha. Unfortunately I do live in US. So is it possible way to change another language? Such as Korean.

@gregoryduckworth
Copy link
Owner

Happy to accept PRs on this (or if I get time to do it), you would need to do something similar to:

if self._api_key == 'no key':
  url = "https://maps.google.com/maps/api/geocode/json?language=" + self._language + "&latlng=" + lat
else:
  url = "https://maps.googleapis.com/maps/api/geocode/json?language=" + self._language + "&latlng=" + lat + "&key=" + self._api_key

@gregoryduckworth
Copy link
Owner

This should be fixed in 0.1.2 let me know if it hasn't.

@geochilmaru
Copy link
Author

It works well. Great!!! Thanks a lot!

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