Page 1 of 2

Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 11:34 am
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.

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 11:46 am
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.

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 11:56 am
by ajcm
So that means that every visit to my site see it in their own language?

If so, all is well.

thanks again.

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 12:04 pm
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.

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 12:19 pm
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.

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 12:45 pm
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

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 4:39 pm
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?

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 6:12 pm
by steve
You need to edit indexT.htm on your PC. Find <#LastRainTipISO> and change it to:

<#LastRainTipISO format="hh:mm dd-mm-yyyy">

Re: Months on the web pages appear in Spanish

Posted: Thu 04 Aug 2011 9:52 pm
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.

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 7:40 am
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.

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 12:02 pm
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.

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 2:41 pm
by beteljuice
Try:

Code: Select all

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

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 4:03 pm
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.

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 4:11 pm
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>?

Re: Months on the web pages appear in Spanish

Posted: Fri 05 Aug 2011 4:31 pm
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