It is currently January 26th, 2021, 10:08 pm

Weather not working?

Help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 21470
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather not working?

Post by jsmorley »

Not a big deal, but I think you will find that if you get the latest version of the "tools" at:

https://forum.rainmeter.net/viewtopic.php?f=27&t=34734#p172158

That 1) I have added automatic translation of the Month/Day names to the measures, and 2) I think the new version of the "find location code" skin is a bit better.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4224
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

jsmorley wrote: March 10th, 2020, 8:21 pm Looks good eclectic-tech!

I propose that we let this marinate here for a day or two, then move it to the "Weather Skins" list under your name with credit to HipHopium.
Yes... let's see what develops. Hopefully nothing too serious.

The method for skin specific term translations can be done different ways; I decided to include a few examples in the language variables file instead of just instructions to translate. Hopefully this doesn't confuse rather than help...
dasxardas
Posts: 25
Joined: March 6th, 2020, 9:38 am

Re: Weather not working?

Post by dasxardas »

eclectic-tech wrote: March 10th, 2020, 7:50 pm
SUMMARY
Removed Settings skin
Instead use 'Language' code (en-US, etc.) and edit skin specific terms in #@#WeatherComJSONLanguage.inc for you language
Corrected TYPO in day/night test
Added context options to edit variables, language, and find weather codes (JSMorley's skin :D )
Reworked moon to match forecast day format and added moon rise/moon set times

Should be working for any TWC supported language. Renamed folder in package to "Realistic Weather Forecast"...

EDIT: Corrected missing Day1 evening conditions. (I wish I was perfect!)
Realistic Weather Forecast_1.2020.03.10.rmskin
I'll try that, but it looks great. :)
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4224
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

jsmorley wrote: March 10th, 2020, 8:30 pm Not a big deal, but I think you will find that if you get the latest version of the "tools" at:

https://forum.rainmeter.net/viewtopic.php?f=27&t=34734#p172158

That 1) I have added automatic translation of the Month/Day names to the measures, and 2) I think the new version of the "find location code" skin is a bit better.
Too many updates to keep up with! ;-)

I thought I had grabbed the latest, but I forgot that I downloaded your new version the other day... I will update the package later tonight or tomorrow with those; have to keep the "other half" happy too! :lol:
User avatar
Yincognito
Posts: 2980
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather not working?

Post by Yincognito »

Just saying...is the scroll resizing gone from the latest version?
dvo
Posts: 1029
Joined: February 7th, 2016, 6:08 am

Re: Weather not working?

Post by dvo »

Code: Select all

 ;=====================================
;Dutch
; =====================================
;FeelsLike=Gevoelstemperatuur
;Humidity=Luchtvochtigheid
;Wind=Wind
;Visibility=Zicht
;Pressure=Luchtdruk
;ChanceOfPrecip=Kans op Neerslag

;Date="Sunday":"Zondag","Monday":"Maandag","Tuesday":"Dinsdag","Wednesday":"Woensdag","Thursday":"Donderdag","Friday":"Vrijdag","Saturday":"Zaterdag","January":"Januari","February":"Februari","March":"Maart","April":"April","June":"Juni","July":"Juli","August":"Augustus","September":"September","October":"Oktober","November":"November","December":"December"
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4224
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

Yincognito wrote: March 10th, 2020, 8:46 pm Just saying...is the scroll resizing gone from the latest version?
I commented out scrolling using the mouse due to the possibility to overwhelm the WebParser, and locking up the skin, if scrolled quickly.

If you want scrolling, simply remove the semicolons of the mouse scroll lines in the [Rainmeter] section.
You can set the SCALE in the [Variables] section of the skin; default is SCALE=0.5

I am making a few changes suggested by JSMorley, adding changes that should make it easier to translate terms by setting a 'Lang' variable, and moving common variables to 'GeneralVariables.inc' file. Will be posting an update later this evening.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4224
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

dvo wrote: March 10th, 2020, 9:00 pm

Code: Select all

 ;=====================================
;Dutch
; =====================================
;FeelsLike=Gevoelstemperatuur
;Humidity=Luchtvochtigheid
;Wind=Wind
;Visibility=Zicht
;Pressure=Luchtdruk
;ChanceOfPrecip=Kans op Neerslag

;Date="Sunday":"Zondag","Monday":"Maandag","Tuesday":"Dinsdag","Wednesday":"Woensdag","Thursday":"Donderdag","Friday":"Vrijdag","Saturday":"Zaterdag","January":"Januari","February":"Februari","March":"Maart","April":"April","June":"Juni","July":"Juli","August":"Augustus","September":"September","October":"Oktober","November":"November","December":"December"
Thanks DVO. I will add a Dutch translation file to the new language files; a new general variable 'LANG' is being added to allow quickly setting skin specific terms... 'Lang=Dutch' will be available in the update.

Note that date terms will now be resolved by updated JSON measures by JSMorley, so the 'Date=...' section is no longer needed with the upcoming release.
User avatar
Yincognito
Posts: 2980
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather not working?

Post by Yincognito »

eclectic-tech wrote: March 10th, 2020, 10:59 pm I commented out scrolling using the mouse due to the possibility to overwhelm the WebParser, and locking up the skin, if scrolled quickly.

If you want scrolling, simply remove the semicolons of the mouse scroll lines in the [Rainmeter] section.
You can set the SCALE in the [Variables] section of the skin; default is SCALE=0.5

I am making a few changes suggested by JSMorley, adding changes that should make it easier to translate terms by setting a 'Lang' variable, and moving common variables to 'GeneralVariables.inc' file. Will be posting an update later this evening.
Oh, ok - I didn't know that. And yes, I noticed that quick scrolling locked up the skin right ever since I first installed it.
Anyway, it was just an observation - I only installed it to see its progress. Nice job, by the way. :thumbup:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4224
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

Updated JSON measures and WeatherComCodes to latest versions (Thanks JSMorley!)

:Changes:
Added new context menu items:
- Choose Location (latest JSMorley's excellent skin!)
- Edit General Variables (Scale, Lang, Time, and Date Formats)
- Edit Weather Variables (TWC Language Code, LocationCode [Manually], UpdateRate)
- Edit Current Language (If you prefer different translations than those supplied)
- Add New Language (To add skin specific terms in a new language [see instructions in the file])
- Translations simplified due to update JSON measures (only 6 skin specific terms need to be translated)

Includes English terms translations into: Spanish, French, German, and Dutch (Other languages can be easily set up)

To get a completely translated skin you need to set 2 variables:
1) the 'Lang' variable in 'GeneralVariables.inc' to your language file; 'Lang=French'. This will translate skin specific terms.
2) set the 'Language' variable in 'WeatherComJSONVariables.inc' to your TWC language code; 'Language=fr-FR'. This will return TWC data in your language.

Both can be done using the context menu options.

Updated file in previous post
rwfLatest.png
You do not have the required permissions to view the files attached to this post.