Just a bump to let folks know that the PHP and translation files have been updated to support display of wind direction/speed/units on the icons display.
To make the translations of wind cardinal directions work, a single line needs to be added to the associated plaintext-parser-lang-LL.txt file to enable the translations. For the currently released language plugin files, I've added them to the respective files:
plaintext-parser-lang-dk.txt: added 'langlookup|NESW|NØSV|'
plaintext-parser-lang-es.txt: added 'langlookup|NESW|NESO|'
plaintext-parser-lang-fr.txt: added 'langlookup|NESW|NESO|'
plaintext-parser-lang-it.txt: added 'langlookup|NESW|NESO|'
plaintext-parser-lang-nl.txt: added 'langlookup|NESW|NOZW|'
(note: also changed 'lang|A|Een|' to 'lang|A |Een |' in the -nl file)
plaintext-parser-lang-no.txt: added 'langlookup|NESW|NØSV|'
plaintext-parser-lang-pt.txt: added 'langlookup|NESW|NESO|'
plaintext-parser-lang-se.txt: added 'langlookup|NESW|NOSV|'
The wind parsing will show full values of the wind forecasts, including 'calm' (translated), '5 gust to 14' as '5-14' and 'becoming 3' as '⇒3'.
You can either add the one line 'langlookup' entry to your copy of the language plugin file, or download a new copy (and plaintext-parser.php V1.03) from
http://saratoga-weather.org/scripts-WXSIM.php#plaintext Also, the calculation of <td> width for the icon cells was added to the code so it spreads the icons evenly through the space allowed.
Best regards,
Ken