Page 1 of 1

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

Posted: Tue 23 Dec 2014 3:36 pm
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

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

Posted: Tue 23 Dec 2014 9:56 pm
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

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

Posted: Wed 24 Dec 2014 2:49 pm
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

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

Posted: Thu 25 Dec 2014 10:22 pm
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

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

Posted: Fri 26 Dec 2014 4:15 pm
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