1: I’ve recently noticed that some symbols used in non-English language gets messed up.
Look in the upper right corner of the picture.
2: The month name has stopped translating itself, it says “Oct.” for all languages.
Any idea anyone?
It’s due to the WU forecast in UTF-8 not being converted to ISO-8859-1 so your seeing the UTF for the o-umlaut character.
The WU-forecast.php script is saying
Got to leave for a while… be back later to diagnose …
Ok… was my bad. The WU-forecast.php for the World-ML template is different from the World template version.
Please update your World-ML WU-forecast.php from http://saratoga-weather.org/template/WD-World-ML/WU-forecast.php?sce=view which includes the iconv() stuff to translate from UTF-8 to the target character set (iso-8859-1 for Finnish).
Sorry for the difficulties, Martin!
Hi Ken, thanks for the tip!
I think I downloaded a standalone version when I saw it was upgraded to 1.06.
Didn’t think of the multilangual or not but that was my fault.
I’m gonna grab the proper one from your link, thanks again!
Do you have any idea about my #2 in the first post here?
I can’t figure it out, it simply doesn’t translate the “Oct” in any of the languages.
Wasn’t your fault, Martin… I’d forgotten that the ML version of the WU-forecast.php was different than the non-ML version so uploaded the ‘fixed’ single-language version in error. I’ve fixed the main download page in the scripts section to highlight the two different versions (so I can keep it straight too )
The reason the month abbreviation doesn’t translate is simple … I’d not put in the code to do it … #-o :roll:
I’ve attached both updated files in the zip below, and released V1.52 of the World-ML distribution .zip with the fixes.
ML-update-V1-52.zip (14.2 KB)
Cheers Ken, I copied the new code I could find and replaced the old code and it seems to work fine now!
I had to do it that way since I’m using the modified dashboard on my site.
Oh another thing, did you have a chance to look at the “Wind Chill”-words being shown instead of Feels Like when it’s below 10.0’C?
edit: Also please take a look at this post by Henkka from Nordic Weather Network: http://discourse.weather-watch.com/p/269586
Both still in ‘backlog’ I’m afraid… last week we had prep for an IRS audit of our 2006 Federal return so occupied much of our time. I hope to work on the backlog projects early the coming week.
Great Ken, again thank you so much for all your help and efforts.