Some time ago, I was wondering about the nice and colorful forecasting
pictures on my weather station, and how to get the corresponding data
downloaded.
Since I have recently installed the Weewx forecast module, I have
concluded, that these pictures may be graphical interpretations of
Zambretti codes, which the console may calculate itself. The Weewx forecast
module also has a build in Zambretti calculation and expresses the codes (A
to Z) as narrative English text modules. I have found such text modules at
two places in forecast.py
[Forecasts]
[[Labels]]
[[[Zambretti]]]
# mapping between zambretti codes and descriptive labels
...
and at
zambretti_label_dict = {
...}
Now I want to replace the text modules with German expressions. I found a
github project https://github.com/3KUdelta/Solar_WiFi_Weather_Station ,
where the file Translations.h contains versions in 9 languages.
Although is easy to reformat and insert the text into that of the both
places at forecast.py (not sure, if I need them at both places), I would
like to have the translation outside of the file, so that it survives
updates. And maybe, there is some interest to use the other languages as
well.
What do you think about it?
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/3b6d851a-1747-4779-b6c1-2bca5acdb333n%40googlegroups.com.