Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

6.19.0 beta - Locale and Date display

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by jlmr731 »

Beta3 looks good
AndyKF650
Posts: 725
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by AndyKF650 »

Hi Hans

B3 looks good to me.
mingjen
Posts: 37
Joined: Wed 21 Dec 2011 3:40 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Fyn, Denmark
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by mingjen »

Hi.
Have installed beta 3, but unfortunately the gauges are now blank. I have tried DA, DK and EN for language in the gauges.js file without result.
Attached logfile.
I hope you don't get tired of me :)
You do not have the required permissions to view the files attached to this post.
https://mingjen.net/odense
Davis Vantage Pro2 weather station
CumulusMX
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

@mingjen: aha... As it works for Andy and Jeff I guess it has to do with the language.js (the gauges language file) which required a code change as well. I did not include it looking for a fast beta (always a bad idea wanting to be fast). I'll be back late tonight so it will probably be either late or tomorrow.

Oh, and you are NOT supposed to edit the gauges.js, everything is handled by CUtils!

Oh, and I don't get tired of anything 😎
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

@mingjen: please find enclosed a new zip with modified language.js included (it now has LANG.DA as language specification for Danish). Place the file in the utils directory and run without thrifty. It should be all OK now.

@All: NOTE: the language.js for CUtils differs from the one in the CMX distribution. I will inform Mark to modify.
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

@mingjen: I noticed your website gauges are working perfectly. What did you do to achieve that?
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
mingjen
Posts: 37
Joined: Wed 21 Dec 2011 3:40 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Fyn, Denmark
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by mingjen »

Hi. And thanks for your work. I have uploadet an old version of cumulusutils.js so it is not a solution. But I vill try your new setup now.
I think it works great. :D :D
Thank you for all the help.
https://mingjen.net/odense
Davis Vantage Pro2 weather station
CumulusMX
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

@mingjen: OK. Looks good indeed. But the strange thing is the dasboard date (clock pane) shows a dot separator while on the records page it shows a dash. Apparently C# and javascript use different definitions of the da-DK locale. I'll see if there is something to be done.
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

version 3.19.0 beta 4 is attached (full release, please install and run once without thrifty).
See provisional release notes for what it contains.

Please look around, if any issue please report.
If no issues this will be more or less the release (in a week or so).

@Jeff: to appreciate the Charts/Graphs changes please use the CartsCompiler (see the wiki), a default for the definitions is in the distribution and must be renamed to CutilsCharts.def. If you don't use it you get the original - not maintained - charts which you use now.
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
AndyKF650
Posts: 725
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by AndyKF650 »

Hi Hans

Success! The B4 looks fine and installs OK, dates look fine and the scatter plot has an appropriate full axis :clap:

I added a scatter plot to the extra CO2 chart and that performed as expected.
mingjen
Posts: 37
Joined: Wed 21 Dec 2011 3:40 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Fyn, Denmark
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by mingjen »

HI.
Have installed last version 6.19.0 beta 4, and it works fine (exept for the dots in the date instead of dashes, no problem)
I have atached the languagefile. Have done the missing translations in Danish. If you´ll test it and you think it is ok you can use in the next edition :)
You do not have the required permissions to view the files attached to this post.
https://mingjen.net/odense
Davis Vantage Pro2 weather station
CumulusMX
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

mingjen wrote: Mon 26 Jun 2023 3:06 pm HI.
Have installed last version 6.19.0 beta 4, and it works fine (exept for the dots in the date instead of dashes, no problem)
I have atached the languagefile. Have done the missing translations in Danish. If you´ll test it and you think it is ok you can use in the next edition :)
@mingjen: Ah... thanks, I'll have a look and if any remarks we'll continue via PM. I'll also share it with Mark for the general update for the gauges! (good moment btw to also update your CUtils translation in the sharing thread?)
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
sutne
Posts: 386
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: 6.19.0 beta - Locale and Date display

Post by sutne »

Hi Hans,
I have installed 6.19 on both my sites. The one using nn-NO as locale is fine, but nb-NO is not.
It is probably not your fault. The Linux locale seems to be different for the two, and that is strange.
nn/nb is the language, NO is the regional setting and should be the same for both.
Unfortunatey everything seems to be allowed in Norwegian, ., -,/ in dates. Both . and : in tIme.

I prefer . for dates and : for time, which nn-NO uses.
nb-NO uses . for both, but Cumulusutils uses : in time for the panes, but . in the records, same problem as for DK. (nb is very similar to danish).
But the strange thing is the dasboard date (clock pane) shows a dot separator while on the records page it shows a dash. Apparently C# and javascript use different definitions of the da-DK locale. I'll see if there is something to be done.
User avatar
HansR
Posts: 6058
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by HansR »

(first only for Steinar to see if it works)
sutne wrote: Mon 26 Jun 2023 5:00 pm I have installed 6.19 on both my sites. The one using nn-NO as locale is fine, but nb-NO is not.
It is probably not your fault. The Linux locale seems to be different for the two, and that is strange.
nn/nb is the language, NO is the regional setting and should be the same for both.
Unfortunatey everything seems to be allowed in Norwegian, ., -,/ in dates. Both . and : in tIme.

I prefer . for dates and : for time, which nn-NO uses.
nb-NO uses . for both, but Cumulusutils uses : in time for the panes, but . in the records, same problem as for DK. (nb is very similar to danish).
But the strange thing is the dasboard date (clock pane) shows a dot separator while on the records page it shows a dash. Apparently C# and javascript use different definitions of the da-DK locale. I'll see if there is something to be done.
Hi Steinar,

Hmmm... those locales keep surprising me.

But your remark
The Linux locale seems to be different for the two, and that is strange.
hit a button: many culture functions to use. I changed the function used and created beta 5 which is attached. I am curious.

(Btw. I don't see 6.19.4 on the Rjoanddalen site, only on the Kronstad site)
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: 6.19.0 beta - Locale and Date display

Post by jlmr731 »

Beta 4 up and yes charts look better now and as far as i can tell it all looks and works fine.

Looked at the chartsexamples going to have to look further into how it all work and do some translations when i have some time.

Thanks
Post Reply