1,154
edits
No edit summary |
|||
Obviously with the url changed to where ever you want the redirect pointing.
== Changing Languages ==
To switch statically, you need to edit the "gauges.js" file, and change the line
var strings = LANG.EN,
to
var strings = LANG.XX,
(where XX is the desired language code).
To add a new translation, edit the "language.js" file and copy one of the existing sections
If you are only going to use one language, then deleting the unused language options and the
To switch languages
e.g.
// Dynamic script to change the default language to German
This will re-label all the gauges, and update the text/radio buttons etc on the web page. ▼
changeLang(LANG.DE);
However, changing the language for the gauges DOES NOT translate the displayed forecast<br>as the texts of the message are being supplied by your weather station/software.▼
▲This will re-label all the gauges, and update the text/radio buttons etc. on the web page.
▲However, changing the language for the gauges DOES NOT translate the displayed forecast
== Forecast Messages ==
|