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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

CumulusMX and Cumulus1 UI style Multilingual Websites

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

@ Fredsc13

Good catch on the temp gauge.
Try this file instead
gauges.js.zip
I have no issue with the translation of Apparent in my sites nor on your site.

Have loaded your site in
Internet explorer, Edge, Chrome, and, Firefox and all load immediately in French.

It would help if you would provide the link to your website in your signature.
You do not have the required permissions to view the files attached to this post.
sutne
Posts: 372
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2553 (WS80) and HP2564 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sutne »

Fredsc13 wrote: Wed 14 Apr 2021 1:32 pm - with Chrome at first load of the website, when the default is not English, the translation is only executed after the first refresh (10s), is there a way to execute it immediately ?
it works better with Edge.
Is this not the everlasting caching problem?

One has to refresh the browser, empty the buffers or what it takes.
In addition the web-providers also do caching.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Well, that is possible.
However, as fredsc13 runs his own website and only uses English and French, one would expect any caching to be working in his favour.

Have just re-checked his site and it loaded in his default French right away.
Fredsc13
Posts: 7
Joined: Mon 15 Mar 2021 7:52 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian / Raspberry Pi4
Location: Aix-en-Provence, FRANCE
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Fredsc13 »

It's very strange, the problem seems to be random.
After a refresh, sometimes the site is loaded in French, sometimes in English and the translation is applied only 10s later .
I have retried this morning, Chrome, Edge and my Android Phone have the same behaviour.
The probability of having English is lower than French, but it happens sometimes.
You have to refresh the site several times in a row to see the problem.

Is it related to my web provider ?


About the "Apparant" radio button to select the type of temperature in gauges.php,
I see the same problem here :https://silveracorn.nz/cumulusmx/gauges.php
the language selection has no effect on this item

Thank you for the correction of the gauges about outside/inside (not tried yet).
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Well, cumulusMX had not been updated on the public server - Gauges should be OK now.

When you make these changes, do you clear the cached files?
If not some unexpected results may occur.
There is a lot of JS involved so cache clearing is important when updates/changes are made.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by beteljuice »

Er guys .....

Don't forget visitor language choice is a cookie function.
So each 'browser' can have it's own default language, or it may have cookies disabled ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
PaulMy
Posts: 3777
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: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by PaulMy »

Unlike the Davis consoles and Envoy, the Weatherlink Live does not provide a station forecast. In CumulusMX this can be overcome by settings to Use Cumulus forecast. This is then also picked up in the MXUIwebsite for System Forecast http://www.komokaweather.com/cumulusmxwll/index.php
However it is not displaying in the Davis Live Console forecast scrolling, where it scrolls as Not Available http://www.komokaweather.com/cumulusmxw ... p2CUmx.php

I have looked for where the separate settings may be for the Davcon scrolling but haven't found it. Any suggestion?

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

The whole concept of the Davis console scripts is based on what is available in the Davis consoles.
It is surprising that the Davis station forecast is not available in wll - perhaps it should be requested ??

The scroller data is in
davconvp2CUmx-inc or davconvueCUmx-inc
Change <?php echo $forecast; ?> to <?php echo $cumulusforecast; ?>
at lines
165 and 166 or 143 and 145
User avatar
PaulMy
Posts: 3777
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: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by PaulMy »

Thanks Brian,
The whole concept of the Davis console scripts is based on what is available in the Davis consoles.
Good point on the "Davis station" forecast, it is not available in WLL, and WLL is a replacement to the console/Envoy.
I will leave it as is; "Not Available".

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Gregorean »

Hello, I have been noticing for a while that the moon image is rotated 180 degrees with respect to my Davis Console and the moon image in the Cloudbase image. :o
I installed the latest MXUI 2.2.1a, and according to the description, the moon images would now be pulled from the Cloudbase map, so no longer separately from ./images/moonmx/
What could be the cause of this, my moon images are still coming from ./images/moonmx/Nmoon-25pct.png instead of from the cloudbase folder.
When I press F12 I see this moon element

Code: Select all

<span id="ajaxmoonimg" lastobs="<img src=&quot;./images/moonmx/Nmoon-25pct.png&quot; width=&quot;48&quot; height=&quot;48&quot; style= &quot;transform: rotate(180deg);&quot; />"><img src="./images/moonmx/Nmoon-25pct.png" width="48" height="48" style="transform: rotate(180deg);"></span>
I think there should actually be ./images/moonmx/Nmoon25pct.png there instead of Nmoon-25pct.png

Greetings Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Have you set the N S switch at line 107 in ajaxCUmx.js or ajaxCUmx.min.js (whichever one you are using) ?

With an update it is easy to miss applying all the working settings to an updated file.
Simplest way is to copy the the top part of the file from your previous file to the new file ,
i.e. the section from
// -- BEGIN SETTINGS --------------------------------------------------------------------------
to
// -- END OF USER settings -------------------------------------------------------------------------
Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Gregorean »

Thanks Brian, that was the solution, ''var ns'' was still set to 'S', after I set it to 'N' the moon image was conforming to my Console and Cloudbase. :clap:
I am using ajaxCUmx.min.js and had forgotten to copy the old settings. :bash:

Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

CumulusMX UI style Multilingual Website

Cumulus MX Ver 2.2.2 updated on 8th May 2021
Version 2.2.2 adds build 3129 features.

Also includes various other refinements.

Options files unchanged.
User avatar
PaulMy
Posts: 3777
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: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by PaulMy »

Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

CumulusMX UI style Multilingual Website
PressChangeLast3Hours

Thanks Paul,

Have just added
PressChangeLast3Hours
To the dashboard Pressure block

As there were only two downloads of the new ver 2.2.2, have retained the 2.2.2 version number in a new .zip download file on the first page this thread.

The changed files are
/web
CUtagsT.php
realtimetagsT.php
realtime-xT.txt

/webfiles
ajaxCUmx.js
indxblk_press.php

So if you could please download again and just update these files
thanks.

Mark is hard to keep up with :lol: :lol:
Post Reply