Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Months on the web pages appear in Spanish

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Months on the web pages appear in Spanish

Post by ajcm »

Hello:

I would like to know because web pages are the months in Spanish, I need them in English. Is possible?

http://www.telefonica.net/web2/meteomaspalomas/

Thanks.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

The web tags take the names of the months from the Windows settings on your PC. If you want English month names, you will either have to change your Windows settings, or use some javascript on your web pages to convert them.
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

So that means that every visit to my site see it in their own language?

If so, all is well.

thanks again.
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: Months on the web pages appear in Spanish

Post by beteljuice »

... Windows settings on your PC ...
Sorry ... If you want a multilingual site you will have to implement one of the php type templates and be prepared for much head scratching.

That is if your web host allows php.
Image
......................Imagine, what you will KNOW tomorrow !
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

I thought everyone would see the months in Spanish, but now I am content to appear at least in the international language is English because 95% of my visitors are European. I have not raised a multilingual as the Visitors need only see a little weather is in my city.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

You could format it so that the dates use numbers rather than month names:

<#MonthTempLD format=dd/mm/yyyy>

If you were concerned about confusing Americans, you could use ISO format:

<#MonthDewPointHD format=yyyy-mm-dd>
Sanday weather - Mozilla Firefox_2011-08-04_13-41-15.png
You do not have the required permissions to view the files attached to this post.
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

Hello:

I changed the order of the date of "LastTip=2011-04-29 20:02" for this one "LastTip=20:02 29-04-2011" and it is likely that when it rains again the order of the date changes again, which could change this in somewhere?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

You need to edit indexT.htm on your PC. Find <#LastRainTipISO> and change it to:

<#LastRainTipISO format="hh:mm dd-mm-yyyy">
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

Hello again:

The records appear in the format "at 16:42 on 30 Julio 2011" and I have doubts as to modify the webtag e.g." <#TtempH>" and to the format "at 16:42 on 30/07/2011"

Thanks.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

If you look in the web tags section of the help or the wiki, it will show you how to change the format of dates and times, like my examples above.
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

Hello again:

I've tried different formats of dates and times of "records" and not working. I've tried on <#recordsbegandate> and <TtempH>.

<#recordsbegandate format:hh:mm on dd/mm/yyyy>.

Now is "#recordsbegandate" is at 1 enero 2011 and I would like 01/01/2011.

<#TempH> is "at 11: on 26 junio 2011" and I would like appears "at 11:41 on 26/06/2011.

I looked at the wiki and help of cumlus and it appears that "records webtags" do not work like the rest of qe webtags.

Thanks.
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: Months on the web pages appear in Spanish

Post by beteljuice »

Try:

Code: Select all

<#recordsbegandate format="at hh:mm on dd/mm/yyyy">
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

ajcm wrote:<#recordsbegandate>
I haven't applied a format parameter to <#recordsbegandate> but as it never changes you could simply "hard code" the format that you want.
<TtempH>
The format parameter should work with that, if you do it correctly.
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

I've put so:

<#recordsbegandate format="hh:mm on dd/mm/yyyy">

Don´t works and remains the same.

Steve, you say that the format of <recordsbegandate> not be changed but then I can apply "format = at hh: mm on dd / mm / yyyy" to <TtempH>?
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

Now I have put:

<#TtempH format="at hh:mm on dd/mm/yyyy">

And the result is:

a11:41 11:41 o41 26/06/2011
Post Reply