Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

translation sunset template (at, to, on....)

Discussion of Jacques DesRoches's web site templates

Moderator: JacquesD

Post Reply
dygon
Posts: 24
Joined: Tue 02 Dec 2014 9:04 pm
Weather Station: Oregon WMR200
Operating System: windows 7
Location: Italia

translation sunset template (at, to, on....)

Post by dygon »

Hello everyone, I installed the template sunset and can not seem to translate into Italian syllables to, at, on the page multirecord, one divided by month and that of the extreme values recorded.
here it is:
http://meteosoresina.altervista.org/multirecords.php

I translated the template files and wt_data_inc.php wt_month_inc.php as instructed by placing the variables as follows:

$to = "fino al "; // Ex: to 20 may
$pre_time = "alle "; // Ex: at 10:45
$pre_date = " del "; // Ex: on 25 may
$only_date = "il "; // Ex: On 25 may

The pages now, today, month and year are translated, that multirecord not. Someone can help me?

THANK YOU VERY MUCH
User avatar
JacquesD
Posts: 609
Joined: Tue 27 Jul 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: translation sunset template (at, to, on....)

Post by JacquesD »

Hi dygon,

I think you simply missing the spelling for that file
local file (unprocessed) supposed to be: wt_month_inc.php
remote filename (processed): wt_months_inc.php

edit local copie wt_month_inc.php (without "s")

Regards,
Jacques
dygon
Posts: 24
Joined: Tue 02 Dec 2014 9:04 pm
Weather Station: Oregon WMR200
Operating System: windows 7
Location: Italia

Re: translation sunset template (at, to, on....)

Post by dygon »

Now i have in cumulus configuration:
Local file: C:\Cumulus\web\wt_month_inc.php
Remote file: /wt_months_inc.php

in my webpage the file multirecords.php contains:
include('wt_data_inc.php');
include('wt_months_inc.php');

in my local file C:\Cumulus\web\wt_month_inc.php I translated the template the variables as follows:
$to = "fino al "; // Ex: to 20 may
$pre_time = "alle "; // Ex: at 10:45
$pre_date = " del "; // Ex: on 25 may
$only_date = "il "; // Ex: On 25 may


but does not work... :-(

I also tried to put as remote file wt_month_inc.php but it does not work anyway
User avatar
JacquesD
Posts: 609
Joined: Tue 27 Jul 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: translation sunset template (at, to, on....)

Post by JacquesD »

Hi dygon,

I've double checked page multirecord.php and discovered bug that
produce error that you report.

I've sent a new multirecord.php page to correct the problem.
You could update with Template Manager Module (manage.php)

Thanks to report!

Regards,
Jacques
dygon
Posts: 24
Joined: Tue 02 Dec 2014 9:04 pm
Weather Station: Oregon WMR200
Operating System: windows 7
Location: Italia

Re: translation sunset template (at, to, on....)

Post by dygon »

page manage.php I do not work.
Gives me error:

403 Error Message:

Forbidden access on Weather byYou

Requested url: weatherbyyou.com/updates/weather_sunset/available.txt
The 403 Forbidden error means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason.


Probable cause

1. Check for URL errors and make sure the actual web page is specified. The most common reason for a web site to return the 403 Forbidden error is if the URL is pointing to a directory instead of a web page.

2. If you're sure the page you're trying to reach is correct, the 403 Forbidden error message may be a mistake. At this point it's probably in your best interest to contact the webmaster, at info@weatherbyyou.com

403 Error Message:

Forbidden access on Weather byYou

Requested url: weatherbyyou.com/updates/lang/lang_file.txt
The 403 Forbidden error means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason.


Probable cause

1. Check for URL errors and make sure the actual web page is specified. The most common reason for a web site to return the 403 Forbidden error is if the URL is pointing to a directory instead of a web page.

2. If you're sure the page you're trying to reach is correct, the 403 Forbidden error message may be a mistake. At this point it's probably in your best interest to contact the webmaster, at info@weatherbyyou.com
Post Reply