WXforum.net
Web Weather => Weather Web Site Help => Topic started by: CarlosLSev on February 21, 2021, 04:35:09 AM
-
Hi I use WC-forecast.php as I forecast weather. There are single untranslated words. I have tried to add in the following files plaintext-parser-lang-es.txt language-es.txt and
/AWLang/plaintext-parser-lang-es.txt Putting it like this
lang | Showers | Showers | and so langlookup | Showers | Showers | And they don't translate My language is Spanish
Hello me!(https://uploads.tapatalk-cdn.com/20210221/5ed3bd98028416d694dbbc011243a11f.jpg)
Enviado desde mi M2007J20CG mediante Tapatalk
-
For the weather conditions description, the translation needs to be in language-es.txt after the 'conditions|begin||' marker like
conditions|begin||
langlookup|Dry|Seco|
langlookup|Light rain|Lluvia débil|
langlookup|Showers|Chubasco|
The plaintext-parser-lang-es.txt is not used here -- it is only used if you are using WXSIM for forecasts.
The Spanish text for the forecasts in WC-forecast.php is provided by TWC/WU via the API. Further translation is not available using the template's language-es.txt .. sorry.
-
Thank you, then I can do little. by the way congratulations for your templates saratoga.