- Posted on
Thu Apr 16, 2015 6:02 am
-
DaveL17
offline
-
- Posts: 6786
- Joined: Aug 20, 2013
- Location: Chicago, IL, USA
-
Hi MortenB - I'm happy to try to help.
The language setting for the plugin will affect all weather devices together. If you have set the plugin configuration to Norwegian, then I put that preference into the URL that I use to request data from Weather Underground. We then must work with whatever data the API returns. I don't know for sure, but I suspect, that Weather Underground will return Norwegian for Current Conditions text and English for Current Conditions (Icon). I suspect this because it would allow users of the API to link to Weather Underground's own icons (which are named in English.)
It sounds like you are working with the following variables for your control pages:
Page 1
Current Conditions - Weather
Current Conditions - Icon (All Day) or Current Conditions - Icon (Day/Night)
Page 2
Current Conditions - Weather
Current Conditions - Icon (All Day) or Current Conditions - Icon (Day/Night)
If you link to the Current Weather Conditions - Icon state, and display that value as text (rather than as an image) I suspect that you will always get English. Regardless, let's first take a look at what device states each control page element is linked to and then take it from there. We'll get it sorted.
Cheers,
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
[My Plugins] - [My Forums]