Dear Weather Enthusiasts!
I have successfully converted from Cumulus 1.9 on a Windows Server to a RaspberryPI.
With some help from the great people on the forum logically since in *nix I am a beginner.
Now I have a question regarding the website date tags used.
I saw that the full page was in English, but by date tags in Dutch.
So I found out how to continue using the same locale on the Raspberry and change the language of the OS messages as well as the time messages to English. Unfortunately this does not change the website data.
What can I do to translate the date tags back to English?
Thank you in advance for any tip or recommendation!
Pascal
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
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
CumulusMX - Names of date etc
-
- Posts: 72
- Joined: Sun 30 Dec 2012 8:23 am
- Weather Station: Davis Vantage Pro2
- Operating System: Raspbian Bullseye
- Location: Hoef en Haag, Netherlands
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CumulusMX - Names of date etc
The month names are provided by Mono, based on the locale that Cumulus is running under. So if you run with a Dutch locale, you will get Dutch month names. The only way that I am aware of to change this is to create a 'custom' locale, but I think someone tried that and wasn't too successful.
Steve
-
- Posts: 72
- Joined: Sun 30 Dec 2012 8:23 am
- Weather Station: Davis Vantage Pro2
- Operating System: Raspbian Bullseye
- Location: Hoef en Haag, Netherlands
Re: CumulusMX - Names of date etc
I have changed the locale on the Raspberry to use the Dutch locale.
When I try the command locale LC_TIME it shows all names of dates in English.
I have changed the locale configuration to the following:
/etc/default/locale
LANG=nl_NL.UTF-8
LC_MESSAGE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
Where does Mono get the dates from?
When I try the command locale LC_TIME it shows all names of dates in English.
I have changed the locale configuration to the following:
/etc/default/locale
LANG=nl_NL.UTF-8
LC_MESSAGE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
Where does Mono get the dates from?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CumulusMX - Names of date etc
I believe it has the names built in, and it uses the locale to determine which set of names to use - in your case nl_NL.UTF-8
Steve
-
- Posts: 72
- Joined: Sun 30 Dec 2012 8:23 am
- Weather Station: Davis Vantage Pro2
- Operating System: Raspbian Bullseye
- Location: Hoef en Haag, Netherlands
Re: CumulusMX - Names of date etc
Thanks for your quick reply!
I tried the -lang-en_GB tag as well. Then it translates the days, however it complains about the startdate tag in Cumulus.ini.
Unfortunately I have got no clue in which format I have to enter that in the Cumulus.ini.
At the moment it shows:
StartDate=woensdag 27 December 2012
Do I need to "translate" this or use: 27-12-2012 or even 27/12/2012
I tried the -lang-en_GB tag as well. Then it translates the days, however it complains about the startdate tag in Cumulus.ini.
Unfortunately I have got no clue in which format I have to enter that in the Cumulus.ini.
At the moment it shows:
StartDate=woensdag 27 December 2012
Do I need to "translate" this or use: 27-12-2012 or even 27/12/2012
-
- Posts: 72
- Joined: Sun 30 Dec 2012 8:23 am
- Weather Station: Davis Vantage Pro2
- Operating System: Raspbian Bullseye
- Location: Hoef en Haag, Netherlands
Re: CumulusMX - Names of date etc
Thanks for the response, it works perfectly. Only now using the . decimal instead of , (Which is part of the UK locale)
But everything in English looks much better.
Configuration of languages and localisation/locales is always something complicated unfortunately.
But everything in English looks much better.
Configuration of languages and localisation/locales is always something complicated unfortunately.