cloudy cloudy

Author Topic: Carterlake/AJAX/PHP Multilingual template available  (Read 41945 times)

0 Members and 1 Guest are viewing this topic.

Offline atsio

  • Weather at Thessaloniki - Northern Greece.
  • Posts: 419
  • Macedonia is GREECE! Study history!
  • Thessaloniki - Greece
    • Weather conditions at Thessaloniki Historical Center-Central Macedonia-Greece
Re: Carterlake/AJAX/PHP Multilingual template available
« Reply #180 on: January 27, 2010, 01:48:04 PM »
Hi Ken!

I use XAMPP suite to test my site off line, and after version 1.7.1 (1.7.2 and 1.7.3) I get some errors or warnings
in ajax-dashboard.php. Version 1.7.1 is ok.

The errors are like: "Deprecated: Function split()".

I think that there is an issue with the PHP version. Is there a way to suppress or even eliminate those errors?

You can find XAMPP here: http://www.apachefriends.org/en/xampp.html

Best regards,

Thanos

Offline staccermaccer

  • Posts: 218
  • Antwerp,Belgium
    • Weather in Ekeren and Harbour of Antwerp
Re: Carterlake/AJAX/PHP Multilingual template available
« Reply #181 on: January 27, 2010, 09:15:57 PM »
Thanos,

Hi, i had the same issue with my recordspage. I  changed the code "split ()" to explode() and that did the trick with me, you have to search a little bit in your pages but this resolved the error on my site. Fault is produced by a new update of PHP wich no longer supports the split() function.

Hope it helps!

Marc,

Offline atsio

  • Weather at Thessaloniki - Northern Greece.
  • Posts: 419
  • Macedonia is GREECE! Study history!
  • Thessaloniki - Greece
    • Weather conditions at Thessaloniki Historical Center-Central Macedonia-Greece
Re: Carterlake/AJAX/PHP Multilingual template available
« Reply #182 on: January 27, 2010, 10:24:09 PM »
Thank you Marc,

I'll try it!

Thanos


Edited: Issue resolved Marc! Thank you! :)
« Last Edit: January 28, 2010, 07:56:26 AM by atsio »

Offline staccermaccer

  • Posts: 218
  • Antwerp,Belgium
    • Weather in Ekeren and Harbour of Antwerp
Re: Carterlake/AJAX/PHP Multilingual template available
« Reply #183 on: January 28, 2010, 10:59:49 PM »
Thanos,

Glad i could be of any help!

Marc,

Offline staccermaccer

  • Posts: 218
  • Antwerp,Belgium
  • OS/Browser:
  • Win NT 6.3
  • Firefox 37.0
    • Weather in Ekeren and Harbour of Antwerp
Re: Carterlake/AJAX/PHP Multilingual template available
« Reply #184 on: May 07, 2015, 06:17:24 PM »
This is the initial release of the WD-World-ML template set that many have helped build.  I'd like to specially thank the translators for their excellent efforts to provide the lookup tables for the translations!

Danish: Henrik (jwwd) http://www.buskelundtoften.dk/vejret/english
Danish: Søren (strandvejr)  http://www.strandvejr.dk/

Dutch: Gerard (doornenburgweer) http://www.doornenburgweer.nl/
Dutch: Jozef (pinto) http://www.joske-online.be/
Dutch: Marc (staccermaccer) http://www.akker.be/index.php

Finnish: Henkka (weatherc) http://www.nordicweather.net/

Greek: Thanos (atsio) http://www.meteothes.gr/weather/

Norwegian: Arnt (Arnt)  http://home2.monet.no/~aosoloy/
Norwegian: Martin (berdalweather) http://www.berdalweather.net/
Norwegian: Runar (runarbg) http://www.runarweb.com/

Swedish: Bo (sm6kiw) http://www.sm6kiw.se/

Spanish: Luis (Breitling) http://meteo.aerolugo.com/ (in progress)

Italian: Mario (plmeteo) http://www.plmeteo.info/ (in progress)

Portuguese: Hélder (Meteoabrantes) http://meteoabrantes.no-ip.info/  (in progress)




Before you download, here are the big changes from the World template set:

1) a new testtags.txt to be uploaded to testtags.php .. it now contains all the needed WD variables for all the pages.  After installation (if you have an existing WD-World site), you can discontinue uploading trends-inc.txt to trends-inc.html .. it won't be used in the WD-World-ML template set.
2) there are additions to MANY of the scripts to support the multilanguage feature .. be sure to REPLACE existing copies with the updated ones.  Changes in common.php, top.php, ajaxWDwx.js, ajax-dashboard.php, ajax-gizmo.php, WU-forecast.php and others are needed to make the multilanguage function work.
3) new images in /ajax-images to support language-specific wind-roses and flags for display .. upload the whole directory.

The multilingual features will currently only work if you run Weather-Display in English .. I've not built a <language>->English reverse translation function, but that may be a future addition if needed.

New features include:
1) languages configured by Settings.php and language pack files including default language for the site
2) fully translated wxtrends.php page
3) fully translated wxhistory.php page
4) ajax-dashboard now has Snow display options (with automatic enabling by temperature)

A new download package is also introduced with the World-ML templates: language packs.  These .ZIP files will contain the needed parts to add or update a language once installed.  They're available on the install page.

The initial release has 7 languages (English, Danish, Dutch, Finnish, Greek, Norwegian, Swedish) and partial versions of Italian and Spanish.  Multiple language package updates are in process now.

Please read the install information before configuring .. it may save a bunch of headaches :)

Best regards,
Ken

 

cumulus