maxbbraun / mirror

Smart Mirror
https://medium.com/@maxbraun/my-bathroom-mirror-is-smarter-than-yours-94b21c6671ba#.81sljnn80
MIT License
578 stars 136 forks source link

change language #28

Open h3dgecutter opened 5 years ago

h3dgecutter commented 5 years ago

is it possible to change weather language somewhere in the project? any pointer would be greatly appreciated.

richard

maxbbraun commented 5 years ago

Try adding &lang=es (https://darksky.net/dev/docs) to the weather request.

warning939 commented 2 years ago

I had the same challenge and this is how I fixed: In the Weather.java file search for apikey (3 rows) and append the language settings like this: "%s/locations/v1/cities/geoposition/search?apikey=%s&q=%f,%f&metric=true&language=hu-hu",

Peter