Juan, your site looks great! 

I will add an option to define a language override for DarkSky and will 
include it in the next update... In the meantime you can add the lang=es in 
the belchertown.py file at this line 
<https://github.com/poblabs/weewx-belchertown/blob/master/bin/user/belchertown.py#L290>

It should look like this (you will need to test this): 

forecast_url = "https://api.darksky.net/forecast/%s/%s,%s?units=%s&lang=es"; 
% ( darksky_secret_key, latitude, longitude, darksky_units )


On Tuesday, September 11, 2018 at 11:34:28 AM UTC-4, Juan Antonio Mosquera 
wrote:
>
> Hi Pat...
>
> Now extension works fine... jeje.
>
> One question, how configure forecast language? forecast_languate = es 
> =??... darksky API have a ES language.
>
> I translated templates to Spanish language (
> https://github.com/juanantoniomosquera/weewx-belchertown)
>
> Thanks.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to