Read the statement by Michael Teeuw here.
MMM-NOAA - Another Weather Module
-
@nobita West-South-West
-
@Sean Thanks so much
-
@cowboysdude Wow this one is difficult. I’m not sure where I can adjust this. You see my MMM-module part and my translation-files below (notice also “Lør” is correct but “Søn” is wrong).


-
You guys are certainly keeping him busy. :-)
-
@Mykle1 he might get bored … lol
-
Being bored…is not an issue :) My new board just came for my 3d printer sooooooo …
The last one caught on fire…yes caught on fire… so my new one and my mosfet is here and I’m gonna be playing with that tonight :)Thanks @tbbear and @sean for giving a hand :)
As @tbbear pointed out there may be some issues with the translation files not working correctly… the pi is a funny beast to say the least :)
SO if you are having issues I would take your translation file and use your keyboard in your language and re-type it that seems to be solving a lot of problems :)
-
-
-
-
@cowboysdude Hi Uploads are disabled.
File uploads require push access to this repository. -
Fork the repo
Make your changes
Make a Pull Request -
@MrBorg You can edit a file and do a pull request :)
-
@cowboysdude, How to Convert name of month (in number) to short or long word like as
1= Jan,2=Feb …

Thanks for all your hints many time, because I’m beginer not expert in program
-
@nobita You’re welcome :)
I would have to change the code to do that…That would take a bit of rewriting…
-
@cowboysdude Hi I have made my first fork and pull request on GitHub ever. A new DA-translation file is ready for you.
-
@MrBorg said in MMM-NOAA - Another Weather Module:
Hi I have made my first fork and pull request on GitHub ever
Yeah, that’s the ticket! :-)
-
@MrBorg Thank you my friend…approved :) And Thank you!!!
-
Testing out something new… stay tuned.
-
Thanks @tbbear for testing this for me…[AND updating the css for the icons]
We now have Night icons :)

Other changes:
When there is no wind the wind info won’t show up. No sense seeing: Wind: 0 :)do your git pull to update main js, css and icons
Enjoy!
-
@Snille SO a question for you …do you know how to work with a Promise?
We are trying to translate the alerts in natives languages and we are getting back a promise but do not know how to process that.
Any help would be great!!
Thank you!
This is what we have:
var foo = translate(alerts.description, {from: 'en', to: this.config.lang}).then(function(resexp) { return resexp });this is the return:

How can I do that and get the pending promise?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

