Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Now available: AJAX/PHP multilingual website templates

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
actioman
Posts: 118
Joined: Sat 20 Mar 2010 1:01 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Elvas, Portugal
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by actioman »

New question.

Another member of this forum, Kapo, managed to apply the translation system to Davis weather forecast. He tells me that only added to the "LL.txt-language" file (in his case the Finnish language - language-fi.txt), the various weather forecasts of Davis, as in this example:

Code: Select all

 langlookup|Mostly clear with little temperature change|Enimmäkseen selkeää pienin lämpötilamuutoksin.|
I've tried doing the same but there was no translation. However the rest of the translation template function perfectly. Any idea?

This are the Davis Weathe Forecas Strings:

Forecasts
0=Mostly clear and cooler.
1=Mostly clear with little temperature change.
2=Mostly clear for 12 hours with little temperature change.
3=Mostly clear for 12 to 24 hours and cooler.
4=Mostly clear with little temperature change.
5=Partly cloudy and cooler.
6=Partly cloudy with little temperature change.
7=Partly cloudy with little temperature change.
8=Mostly clear and warmer.
9=Partly cloudy with little temperature change.
10=Partly cloudy with little temperature change.
11=Mostly clear with little temperature change.
12=Increasing clouds and warmer. Precipitation possible within 24 to 48 hours.
13=Partly cloudy with little temperature change.
14=Mostly clear with little temperature change.
15=Increasing clouds with little temperature change. Precipitation possible within 24 hours.
16=Mostly clear with little temperature change.
17=Partly cloudy with little temperature change.
18=Mostly clear with little temperature change.
19=Increasing clouds with little temperature change. Precipitation possible within 12 hours.
20=Mostly clear with little temperature change.
21=Partly cloudy with little temperature change.
22=Mostly clear with little temperature change.
23=Increasing clouds and warmer. Precipitation possible within 24 hours.
24=Mostly clear and warmer. Increasing winds.
25=Partly cloudy with little temperature change.
26=Mostly clear with little temperature change.
27=Increasing clouds and warmer. Precipitation possible within 12 hours. Increasing winds.
28=Mostly clear and warmer. Increasing winds.
29=Increasing clouds and warmer.
30=Partly cloudy with little temperature change.
31=Mostly clear with little temperature change.
32=Increasing clouds and warmer. Precipitation possible within 12 hours. Increasing winds.
33=Mostly clear and warmer. Increasing winds.
34=Increasing clouds and warmer.
35=Partly cloudy with little temperature change.
36=Mostly clear with little temperature change.
37=Increasing clouds and warmer. Precipitation possible within 12 hours. Increasing winds.
38=Partly cloudy with little temperature change.
39=Mostly clear with little temperature change.
40=Mostly clear and warmer. Precipitation possible within 48 hours.
41=Mostly clear and warmer.
42=Partly cloudy with little temperature change.
43=Mostly clear with little temperature change.
44=Increasing clouds with little temperature change. Precipitation possible within 24 to 48 hours.
45=Increasing clouds with little temperature change.
46=Partly cloudy with little temperature change.
47=Mostly clear with little temperature change.
48=Increasing clouds and warmer. Precipitation possible within 12 to 24 hours.
49=Partly cloudy with little temperature change.
50=Mostly clear with little temperature change.
51=Increasing clouds and warmer. Precipitation possible within 12 to 24 hours. Windy.
52=Partly cloudy with little temperature change.
53=Mostly clear with little temperature change.
54=Increasing clouds and warmer. Precipitation possible within 12 to 24 hours. Windy.
55=Partly cloudy with little temperature change.
56=Mostly clear with little temperature change.
57=Increasing clouds and warmer. Precipitation possible within 6 to 12 hours.
58=Partly cloudy with little temperature change.
59=Mostly clear with little temperature change.
60=Increasing clouds and warmer. Precipitation possible within 6 to 12 hours. Windy.
61=Partly cloudy with little temperature change.
62=Mostly clear with little temperature change.
63=Increasing clouds and warmer. Precipitation possible within 12 to 24 hours. Windy.
64=Partly cloudy with little temperature change.
65=Mostly clear with little temperature change.
66=Increasing clouds and warmer. Precipitation possible within 12 hours.
67=Partly cloudy with little temperature change.
68=Mostly clear with little temperature change.
69=Increasing clouds and warmer. Precipitation likley.
70=Clearing and cooler. Precipitation ending within 6 hours.
71=Partly cloudy with little temperature change.
72=Clearing and cooler. Precipitation ending within 6 hours.
73=Mostly clear with little temperature change.
74=Clearing and cooler. Precipitation ending within 6 hours.
75=Partly cloudy and cooler.
76=Partly cloudy with little temperature change.
77=Mostly clear and cooler.
78=Clearing and cooler. Precipitation ending within 6 hours.
79=Mostly clear with little temperature change.
80=Clearing and cooler. Precipitation ending within 6 hours.
81=Mostly clear and cooler.
82=Partly cloudy with little temperature change.
83=Mostly clear with little temperature change.
84=Increasing clouds with little temperature change. Precipitation possible within 24 hours.
85=Mostly cloudy and cooler. Precipitation continuing.
86=Partly cloudy with little temperature change.
87=Mostly clear with little temperature change.
88=Mostly cloudy and cooler. Precipitation likely.
89=Mostly cloudy with little temperature change. Precipitation continuing.
90=Mostly cloudy with little temperature change. Precipitation likely.
91=Partly cloudy with little temperature change.
92=Mostly clear with little temperature change.
93=Increasing clouds and cooler. Precipitation possible and windy within 6 hours.
94=Increasing clouds with little temperature change. Precipitation possible and windy within 6 hours.
95=Mostly cloudy and cooler. Precipitation continuing. Increasing winds.
96=Partly cloudy with little temperature change.
97=Mostly clear with little temperature change.
98=Mostly cloudy and cooler. Precipitation likely. Increasing winds.
99=Mostly cloudy with little temperature change. Precipitation continuing. Increasing winds.
100=Mostly cloudy with little temperature change. Precipitation likely. Increasing winds.
101=Partly cloudy with little temperature change.
102=Mostly clear with little temperature change.
103=Increasing clouds and cooler. Precipitation possible within 12 to 24 hours possible wind shift to the W NW or N.
104=Increasing clouds with little temperature change. Precipitation possible within 12 to 24 hours possible wind shift to the W NW or N.
105=Partly cloudy with little temperature change.
106=Mostly clear with little temperature change.
107=Increasing clouds and cooler. Precipitation possible within 6 hours possible wind shift to the W NW or N.
108=Increasing clouds with little temperature change. Precipitation possible within 6 hours possible wind shift to the W NW or N.
109=Mostly cloudy and cooler. Precipitation ending within 12 hours possible wind shift to the W NW or N.
110=Mostly cloudy and cooler. Possible wind shift to the W NW or N.
111=Mostly cloudy with little temperature change. Precipitation ending within 12 hours possible wind shift to the W NW or N.
112=Mostly cloudy with little temperature change. Possible wind shift to the W NW or N.
113=Mostly cloudy and cooler. Precipitation ending within 12 hours possible wind shift to the W NW or N.
114=Partly cloudy with little temperature change.
115=Mostly clear with little temperature change.
116=Mostly cloudy and cooler. Precipitation possible within 24 hours possible wind shift to the W NW or N.
117=Mostly cloudy with little temperature change. Precipitation ending within 12 hours possible wind shift to the W NW or N.
118=Mostly cloudy with little temperature change. Precipitation possible within 24 hours possible wind shift to the W NW or N.
119=Clearing cooler and windy. Precipitation ending within 6 hours.
120=Clearing cooler and windy.
121=Mostly cloudy and cooler. Precipitation ending within 6 hours. Windy with possible wind shift to the W NW or N.
122=Mostly cloudy and cooler. Windy with possible wind shift to the W NW or N.
123=Clearing cooler and windy.
124=Partly cloudy with little temperature change.
125=Mostly clear with little temperature change.
126=Mostly cloudy with little temperature change. Precipitation possible within 12 hours. Windy.
127=Partly cloudy with little temperature change.
128=Mostly clear with little temperature change.
129=Increasing clouds and cooler. Precipitation possible within 12 hours possibly heavy at times. Windy.
130=Mostly cloudy and cooler. Precipitation ending within 6 hours. Windy.
131=Partly cloudy with little temperature change.
132=Mostly clear with little temperature change.
133=Mostly cloudy and cooler. Precipitation possible within 12 hours. Windy.
134=Mostly cloudy and cooler. Precipitation ending in 12 to 24 hours.
135=Mostly cloudy and cooler.
136=Mostly cloudy and cooler. Precipitation continuing possible heavy at times. Windy.
137=Partly cloudy with little temperature change.
138=Mostly clear with little temperature change.
139=Mostly cloudy and cooler. Precipitation possible within 6 to 12 hours. Windy.
140=Mostly cloudy with little temperature change. Precipitation continuing possibly heavy at times. Windy.
141=Partly cloudy with little temperature change.
142=Mostly clear with little temperature change.
143=Mostly cloudy with little temperature change. Precipitation possible within 6 to 12 hours. Windy.
144=Partly cloudy with little temperature change.
145=Mostly clear with little temperature change.
146=Increasing clouds with little temperature change. Precipitation possible within 12 hours possibly heavy at times. Windy.
147=Mostly cloudy and cooler. Windy.
148=Mostly cloudy and cooler. Precipitation continuing possibly heavy at times. Windy.
149=Partly cloudy with little temperature change.
150=Mostly clear with little temperature change.
151=Mostly cloudy and cooler. Precipitation likely possibly heavy at times. Windy.
152=Mostly cloudy with little temperature change. Precipitation continuing possibly heavy at times. Windy.
153=Mostly cloudy with little temperature change. Precipitation likely possibly heavy at times. Windy.
154=Partly cloudy with little temperature change.
155=Mostly clear with little temperature change.
156=Increasing clouds and cooler. Precipitation possible within 6 hours. Windy.
157=Increasing clouds with little temperature change. Precipitation possible within 6 hours. Windy
158=Increasing clouds and cooler. Precipitation continuing. Windy with possible wind shift to the W NW or N.
159=Partly cloudy with little temperature change.
160=Mostly clear with little temperature change.
161=Mostly cloudy and cooler. Precipitation likely. Windy with possible wind shift to the W NW or N.
162=Mostly cloudy with little temperature change. Precipitation continuing. Windy with possible wind shift to the W NW or N.
163=Mostly cloudy with little temperature change. Precipitation likely. Windy with possible wind shift to the W NW or N.
164=Increasing clouds and cooler. Precipitation possible within 6 hours. Windy with possible wind shift to the W NW or N.
165=Partly cloudy with little temperature change.
166=Mostly clear with little temperature change.
167=Increasing clouds and cooler. Precipitation possible within 6 hours possible wind shift to the W NW or N.
168=Increasing clouds with little temperature change. Precipitation possible within 6 hours. Windy with possible wind shift to the W NW or N.
169=Increasing clouds with little temperature change. Precipitation possible within 6 hours possible wind shift to the W NW or N.
170=Partly cloudy with little temperature change.
171=Mostly clear with little temperature change.
172=Increasing clouds and cooler. Precipitation possible within 6 hours. Windy with possible wind shift to the W NW or N.
173=Increasing clouds with little temperature change. Precipitation possible within 6 hours. Windy with possible wind shift to the W NW or N.
174=Partly cloudy with little temperature change.
175=Mostly clear with little temperature change.
176=Increasing clouds and cooler. Precipitation possible within 12 to 24 hours. Windy with possible wind shift to the W NW or N.
177=Increasing clouds with little temperature change. Precipitation possible within 12 to 24 hours. Windy with possible wind shift to the W NW or N.
178=Mostly cloudy and cooler. Precipitation possibly heavy at times and ending within 12 hours. Windy with possible wind shift to the W NW or N.
179=Partly cloudy with little temperature change.
180=Mostly clear with little temperature change.
181=Mostly cloudy and cooler. Precipitation possible within 6 to 12 hours possibly heavy at times. Windy with possible wind shift to the W NW or N.
182=Mostly cloudy with little temperature change. Precipitation ending within 12 hours. Windy with possible wind shift to the W NW or N.
183=Mostly cloudy with little temperature change. Precipitation possible within 6 to 12 hours possibly heavy at times. Windy with possible wind shift to the W NW or N.
184=Mostly cloudy and cooler. Precipitation continuing.
185=Partly cloudy with little temperature change.
186=Mostly clear with little temperature change.
187=Mostly cloudy and cooler. Precipitation likely. Windy with possible wind shift to the W NW or N.
188=Mostly cloudy with little temperature change. Precipitation continuing.
189=Mostly cloudy with little temperature change. Precipitation likely.
190=Partly cloudy with little temperature change.
191=Mostly clear with little temperature change.
192=Mostly cloudy and cooler. Precipitation possible within 12 hours possibly heavy at times. Windy.
193=FORECAST REQUIRES 3 HOURS OF RECENT DATA
194=Mostly clear and cooler.
195=Mostly clear and cooler.
196=Mostly clear and cooler.
200=Unknown forecast rule.

This is the website of kapo:
http://www.kapo511.net/index.php

And this is mine:
[url]http://www..meteoelvas.com[/url]

Must be some detail that is escaping me, but I do not see which one...

Can you please help me understand this!?

Thank you very much again.
Kind Regards, Manuel.

Image
BCJKiwi
Posts: 1256
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by BCJKiwi »

In the absence of Ken,

Have you changed the;

Code: Select all

. ucfirst($vpforecasttext) . 
in ajax-dashboard.php to

Code: Select all

. langtransstr($vpforecasttext) .
or

Code: Select all

. ucfirst(langtransstr($vpforecasttext)) .
I don't have any translations set up but the last of these does not generate any errors.
You probably won't need the ucfirst if your translation is already capitalised.

Just wondering if these translations should be in plaintext-parser-lang-LL.txt instead ?
Perhaps further info/confirmation from Kapo might help.
User avatar
actioman
Posts: 118
Joined: Sat 20 Mar 2010 1:01 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Elvas, Portugal
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by actioman »

BCJKiwi wrote:In the absence of Ken,

Have you changed the;

Code: Select all

. ucfirst($vpforecasttext) . 
in ajax-dashboard.php to

Code: Select all

. langtransstr($vpforecasttext) .
or

Code: Select all

. ucfirst(langtransstr($vpforecasttext)) .
I don't have any translations set up but the last of these does not generate any errors.
You probably won't need the ucfirst if your translation is already capitalised.

Just wondering if these translations should be in plaintext-parser-lang-LL.txt instead ?
Perhaps further info/confirmation from Kapo might help.
It works!!!

It seemed to me that I had already tried this, but must not have this way..
What is certain is that it is working BCJKiwi! I am using:

Code: Select all

. langtransstr($vpforecasttext) .
The "plaintext-parser-lang-LL.tx" is only for the WXSIM forecast from what I know.
Kapo still not contacted me, but certainly that is what he has changed and he must have forgotten to give me that information. Tomorrow he should me confirm this information.

Thank you so much for this light at the end of the tunnel.

Regards from Portugal! :D
Kind Regards, Manuel.

Image
User avatar
saratogaWX
Posts: 1198
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by saratogaWX »

I think I have a more generalized solution to the translation issue here .. it uses the fewest number of separate langlookup entries needed :)
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by PaulMy »

Hi Ken and BCJ,
Sorry for coming back late but had to go out and cheer the local hockey team on to victory and win their current playoff series.

I attempted to do this as much by myself as possible and made a couple of mistakes. I hadn't uploaded the radar folder as all I had seen in it was a "readme" but have now uploaded :oops: . Now the Local Radar does its time countdown but no images, nor any image in Home. If I could find where
Quote:

<img src="/radar/radar-NAT-0.png" path.
might be located I could check it and edit.
I have had several attempts to make this new install work but finally have given up. Have instead used the Forwarding and Masking method so that http://www.komokaweather.ca uses the working www. komokaweather.com/wxindex.php in the root and that is masked.

Ken, can you add http://www.komokaweather.ca to your wx-template users list?

Now on to getting the ss-gauges to work, if that is possible?

Thanks for all the help and suggestions
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
saratogaWX
Posts: 1198
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by saratogaWX »

Hi Paul,

You're very welcome.. sorry it wouldn't work out quite to your liking with your hosters available settings.
I have added your site to the list :)

Yes, the Steel Series gauges work fine with Cumulus.
You will need to upload an additional file to your site (realtimegauges.txt) via Cumulus with the data needed by the gauges.

See: http://wiki.sandaysoft.com/a/SteelSeries_Gauges for details and to download the gauges.

You already have wxssgauges.php in your updated template so after you install and customize the gauges, they should
be visible at http://www.komokaweather.ca/wxssgauges.php

Best regards,
Ken
BCJKiwi
Posts: 1256
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by BCJKiwi »

Ken, Manuel
Have taken Ken's new script mods and tested them in English (with substituted junk data for the translated language).
Have attached the language-en.txt vpforecast section in Lower case. see updated file in later post(s)
Cross checked this against Manuel's Lower Case list above and corrected a duplication and omission in Ken's list ;) .
The list is now sorted (much simpler to find variations in this list).

Current VPforecast on my test webserver as delivered by Cumulus is;
Increasing clouds and warmer. Precipitation possible within 12 to 24 hours Windy.
Note there is no '.' after hours.
It seems this string does not get translated. I am assuming this is due to the missing '.' and the forecast is treated as 2 strings instead of 3.
Ken, if I read your function correctly it splits the incoming forecast into separate strings on the '.' and after processing adds a '.' to the end of each sentence.
So presumably Steve will need to fix the tag that is being produced as it is missing the '.' - assuming it is not an issue in my Vantage Vue!
Last edited by BCJKiwi on Wed 13 Mar 2013 2:53 am, edited 1 time in total.
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by PaulMy »

Hi Ken,
I have had ssgauges (v. 2.1.0) working in the .com site as part of the Cumulus templates for a couple months. I downloaded a new set (v.2.2.2) and placed them in the root folder, where all the wx-template files are, and have it working http://www.komokaweather.com/wxssgauges.php and have it in the Almanac. A couple of minor issues to resolve
1. Timer first digit is outside of the box and not visible (I have it set as 30)
2. If I set showWindRose as 'true' then the images don't show and counter doesn't count down

As these are likely not wx-template issues I will post on the SteelSeries Gauges thread.

Again a lot learned and thanks for your guidance,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by steve »

BCJKiwi wrote:So presumably Steve will need to fix the tag that is being produced as it is missing the '.' - assuming it is not an issue in my Vantage Vue!
Cumulus doesn't produce the text for the forecasts, it reads them from the Davis Vantagepro.dll.
Steve
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Now available: AJAX/PHP multilingual website templates

Post by gemini06720 »

BCJKiwi wrote:Current VPforecast on my test webserver as delivered by Cumulus is;
Increasing clouds and warmer. Precipitation possible within 12 to 24 hours Windy.
Note there is no '.' after hours.
Brian, might it be that the string you are referring to is not in the 'VP_language-en.txt' file you have posted in the thread (nor is it found in the language text posted by Ken True)... ;)

You have to remember that translation is only possible if the string to be translated is identical to the string found in the language file.

Although I have not translated the english entries to french, my old Vantage Pro2 forecast rule language template as at least twice as many entries/lines/rules/strings available for translation (96 non-duplicate entries out of a possible 197 rules generated by the Vantage Pro2 console) ... including 'Increasing clouds and warmer. Precipitation possible within 6 to 12 hours. Windy.' ;)
BCJKiwi
Posts: 1256
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by BCJKiwi »

Steve, Ray,
I thought I had been quite clear and specific in my post but seemingly not so here goes again.
I fully understand what you are trying to tell me - already knew that.

Ray, Ken's function is specifically to avoid the requirement of all the multifarious various combos and parses out the unique sentences that make up all the different forecasts - that's why the list is much shorter.

The point of the post is that the forecast string in question being delivered by Cumulus does not match the strings as specified by Davis.

So the questions are;
1. does the Vantage Vue deliver a string that is different from the Davis spec?
2. does Cumulus faithfully deliver the strings that Davis delivers?

As the Davis strings appear not to have any '.'s and are all shown as UPPER CASE, I presume Cumulus is doing some formatting as the Tag content is formatted as Cap first lower case and full stop per sentence except for 'Precipitation possible within 12 to 24 hours' which is missing the '.'
So while a special extra sentence of 'Precipitation possible within 12 to 24 hours Windy.' could be added, it hardly seems the appropriate way to fix the problem.

Hence the request for clarification on where the mismatch is for this (and maybe other) sentences.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by steve »

I thought I had been quite clear and specific in my post, but apparently not.

Cumulus gets the forecast strings from the Davis Vantagepro.dll. It doesn't do any formatting, processing, modifying or anything else. It reports the strings exactly as they are supplied.

Note that the Davis console communication protocol does not provide for reading the text of the forecasts from the console, only the 'rule number'.
Steve
User avatar
mcrossley
Posts: 12767
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by mcrossley »

Here is a list of the individual component forecast strings in the vantagepro.dll that Cumulus is using (there are 50 of them)...
Windy with possible wind shift to the W, SW, or S.
Possible wind shift to the W, SW, or S.
Partly cloudy with little temperature change.
Partly cloudy and cooler.
Windy with possible wind shift to the W, NW, or N.
Possible wind shift to the W, NW, or N.
Windy.
Increasing winds.
Precipitation possible within 48 hours
Precipitation possible within 24 to 48 hours
Precipitation possible within 24 hours
Precipitation possible within 12 to 24 hours
Precipitation possible within 12 hours, possibly heavy at times.
Precipitation possible within 12 hours
Precipitation possible within 6 to 12 hours
Precipitation possible within 6 to 12 hours, possibly heavy at times.
Precipitation possible and windy within 6 hours
Precipitation possible within 6 hours
Precipitation ending in 12 to 24 hours
Precipitation possibly heavy at times and ending within 12 hours
Precipitation ending within 12 hours
Precipitation ending within 6 hours
Precipitation likely, possibly heavy at times.
Precipitation likely.
Precipitation continuing, possibly heavy at times.
Precipitation continuing.
FORECAST REQUIRES 3 HOURS OF RECENT DATA.
Mostly cloudy with little temperature change.
Mostly cloudy and cooler.
Clearing, cooler and windy.
Clearing and cooler.
Increasing clouds and cooler.
Increasing clouds with little temperature change.
Increasing clouds and warmer.
Mostly clear for 12 to 24 hours with little temperature change.
Mostly clear for 6 to 12 hours with little temperature change.
Mostly clear and warmer.
Mostly clear for 12 to 24 hours and cooler.
Mostly clear for 12 hours with little temperature change.
Mostly clear with little temperature change.
Mostly clear and cooler.
Partialy cloudy, Rain and/or snow possible or continuing
Partialy cloudy, Snow possible or continuing
Partialy cloudy, Rain possible or continuing
Mostly cloudy, Rain and/or snow possible or continuing
Mostly cloudy, Snow possible or continuing
Mostly cloudy, Rain possible or continuing
Mostly cloudy
Partialy cloudy
Mostly clear
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by PaulMy »

Hi Ken,
I am back on this thread after Mark replied to my inquiry. Mark noted the following in a View Source from my webpage
<h2>Current Weather Gauges</h2>
<p>&nbsp;</p>
<!-- Steel Series Gauges template (gauges-ss-basic-inc.php) not found in /. Using default HTML for gauges. -->
<!-- default HTML is being used -->
From looking at the WIKI for SS from v.2.2.0 the following was added
Added file gauges-ss-basic-inc.php Provides a page to integrate with Ken True's popular Saratoga web site templates

Update gauges-ssT.htm, gauges-ss-basic.htm, gauges-ss-basic-inc.php All gauge sizes (width/height) now replaced with class="gaugeSizeStd"
Amended the status LCD panel and timer LCD panel sizes to match sizes previously set in the gauges.js script
Changed rose script from RGraph.radar.min.js to RGraph.radar.min.js
However this file does not appear to be on my computer after the current wx-template set downloads so I would not have uploaded it to my site.

Did I miss doing something again?

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
saratogaWX
Posts: 1198
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Now available: AJAX/PHP multilingual website templates

Post by saratogaWX »

The gauges-ss-basic-inc.php page is included with Mark's distribution starting at the 2.2.0 version. It is not included with the CU-plugin.zip (or the Base-*.zip) for the AJAX/PHP templates .. it is only in the Steel-Series Gauges distribution.
Post Reply