Weather Underground widget with forecast

The system locale is set to my city and language set to portuguese. I changed the language and locale of my weather underground thing.
Any language that I set, except english, it’s still showing the week days in english.

@fmrenan, have you restarten OH and cleared your browser cache?

@fta, night/day check and night icons would be possible. I need the Astro Binding to determine the local sun set/rise, and then add the wu-night class to the conditions.

I will look into it.

@fmrenan you can try forcing the language to Portuguese in Paper UI > Configuration > System > Regional Settings - be sure to save afterwards, a Save button appears when you change something.

Recent versions of HABPanel honor this setting in priority when it’s set to set the locale (and in your case if you have a version from January 25th or later, it will even be translated); otherwise it will follow the browser’s settings (for instance the first language in the list at chrome://settings/languages in Chrome).

great! thank you )

Thank you for the reply.
My Paper UI regional settings is configured to my local and language, as the Weather Underground thing is set to Portuguese too. I rebooted my OH so many times and cleared the browser cache, it’s doesn’t worked to me.
But I find a solution right here:

If someone have this trouble, input this code to the beginning of your widget:

<div ng-init="daysnames={'Sunday': 'Domingo', 'Monday': 'Segunda', 'Tuesday': 'Terça', 'Wednesday': 'Quarta', 'Thursday': 'Quinta', 'Friday': 'Sexta', 'Saturday': 'Sábado'}">

And change your “day” tag to this:

<h4 class="day">{{daysnames[(itemValue('Weather_Forecast_Time0') | date:'EEEE')]}}</h4>

The result is:

@fmrenan Not sure then. Works here (it’s the sunrise time, not an item from the wunderground binding, but all DateTime items should work the same):


Can you check in the developer tools and reload the page, you should see this:


My openHab version is 2.2, running on Windows. My habPanel does not change the language as in your image. How can I see the “Setting Locale” in the developer tools?

My openHab version is 2.2, running on Windows.

Ok, it is too old then :wink:
Setting the locale didn’t make the 2.2 release.

Amazing! Thx alot.

@bastiaan And thx for this widget btw.

I’m lost on how to get the IconSet icons to appear. I have this widget working fully and the ServerPath images load just not the IconSet images. They are in my dist folder under icons>white>svg

Not sure what the hell I’m doing wrong here.

Are you sure you have the correct version of the binding? Please look at the first post and see the minimum required build number. The icon key only became available recently.


I tried to do the same as you but is not working. I’m running on Raspberry Pi, with OH2 #1212. All the other data are showing correctly.image

There’s something wrong with your path configration as your images and icons do not show. Read the instructions in the first post.

@Corban987 Nice layout. Can you share your widget version?

I have the main one working as well. Thanks for all the tips in this thread.

@James_Hiscott I posted mine here

you were right, the path was not correct. The folder I downloaded with the icons had a differente name. It is working perfectly now. Thanks a lot!


Where do you get the .css files from?


Those are included with the weather icons download…

Got it - thanks :slight_smile:

Was looking under css…