Author Topic: Weather-Display AJAX/PHP Canada Multilingual template available  (Read 2527 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Weather-Display AJAX/PHP Canada Multilingual template available
« on: February 08, 2009, 09:59:46 PM »
I've had several requests for this, so while working with Michel at http://www.meteolanaudiere.com/ on his integration of the Canada functions into the World-ML template, I took the opportunity to do the same and add a few features (like bilingual Canadian quakes display, enhance ec-forecast conditions display).

The Canada-ML template is now available for download.  Be advised that if you're running the Canada template, you should download the Canada-ML and install over your existing site .. there are many changes to support the multilingual feature.

http://saratoga-weather.org/template/index.php

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #1 on: February 10, 2009, 03:49:05 PM »
When will a template be available for the European countries?

I think you are doing an excellent job with your script, keep it up  =D>
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #2 on: February 10, 2009, 04:27:57 PM »
Thanks Lars!

The WD-World-ML template is already available with support for the following languages:

English, Afrikaans, Dansk, Nederlands, Suomi, Français, Deutsch, Ελληνικά, Italiano, Norsk, Polski, Português, Español, Svenska with Bulgarian in the works :)

Also available from http://saratoga-weather.org/template/index.php

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #3 on: February 10, 2009, 04:50:43 PM »
What I thought of was a template for each country with map and all the other stuff?

Is this possible?
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #4 on: February 10, 2009, 05:12:43 PM »
Lars,
What the WD-World-ML template does is create a single website to display your weather data from your weather station, then allow the viewer to choose what language to have the main parts of the site appear in .. it's done with a set of plugin translation lookup files (4 files for each language).  You can choose what language the site will display in as a default.

To use the template, you need to run your Weather-Display system using English (since all the translations are from English to another language).

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #5 on: February 11, 2009, 01:35:32 AM »
OK, then i got it.

I thought that the template was for the country and not language, sorry for the missunderstanding  :oops:
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather-Display AJAX/PHP Canada Multilingual template available
« Reply #6 on: February 11, 2009, 01:44:38 AM »
Great! 

I'd created the templates in three flavors based on the source of national weather data:
The USA template uses NOAA (forecast, advisory), USGS (earthquake)  and Wunderground (radar) for it's weather sources
The Canada template uses Environment Canada (forecast, advisory, earthquake) for it's weather sources
The World template uses WeatherUnderground (forecast), MeteoALARM (Euro-advisories), USGS( world earthquakes) for it's weather sources.

If your weather station is in the USA or Canada, you'd use template for your location. 
All other locations should use the World (or World-ML) template.

The Multilingual templates have additional code in them to support language translation-by-lookup for website display text in most pages, but use the same weather sources based on type (Canada or World).

Hope this helps explain a bit more...

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything