Page 29 of 48

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Wed 14 Apr 2021 9:09 pm
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 15 Apr 2021 4:51 am
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 15 Apr 2021 5:08 am
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 15 Apr 2021 9:07 am
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).

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 15 Apr 2021 11:33 am
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 15 Apr 2021 1:11 pm
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 ;)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Mon 26 Apr 2021 11:29 pm
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

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Tue 27 Apr 2021 1:29 am
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

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Tue 27 Apr 2021 2:11 am
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

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 06 May 2021 10:26 am
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 06 May 2021 10:49 am
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 -------------------------------------------------------------------------

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 06 May 2021 11:27 am
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 08 May 2021 9:02 pm
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.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 09 May 2021 1:48 am
by PaulMy

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 09 May 2021 3:03 am
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: