I want to translate the forecast.
I want to translate the wind direction.
I want to translate the Beaufort description.
I want to translate the pressure trend.
I want to translate the temperature trend.
I want to translate the Moon phases.
I want forecast graphics.
I want ........... a good smack
So, using the same sort of techniques as in beteljuice_ajax here is a 'test bed' Cumulus indexT.htm.
Here is an excerpt from the page:
// what do you want to do ? - NB. any value except false = true !
change_forecast = true; // true or false - get the idea - translate / modify Cumulus forecast
show_TZ = true; // show your (declared) time zone - includes DST logic
change_date = true; // translate / modify time stamp - also allows short / long day / month
change_latlong = true; // ie. convert to decimal notation
change_moonphase = true; // translate / modify Moon Phase
hide_moon = true; // only show moon graphic if above horizon
change_winddir = true; // translate / modify AVERAGE wind direction
change_beaufort = true; // translate / modify AVERAGE Beaufort text
show_day = true; // display a daytime graphic
show_night = true; // display a night-time graphic
change_pressure = true; // translate / modify pressure trend text
change_temp = true; // translate / modify temperature trend text
Hey - there's a few other things in there as well !
Notice the phrase 'modify', what's the difference between a translation and a modification ?
You could keep it 'English', but for example change colour or enbolden for particular decisions.
The following test-bed will show a day / night graphic top left, if the Moon is 'up' display the 'round' Moon top left. etc. etc. (Notice the time date stamp
If variables are missing, or incorrectly declared, or nonsense, or the viewer has Javascript disabled, the 'default' Cumulus variables will be displayed.
http://www.dickie.webfusion.co.uk/betel ... s/bog.html
In this example page, the 'translated / modified' JavaScript stuff is hightlighted or boxed in yellow.
Comments please !!!!