In this case $gettext is not some general Python thing but a WeeWX feature to localize arbitrary text. Observation types are localized using $obs.label.observation_type_name. If the text to localize is not an observation type like "Rain Today", then $gettext steps in. There are language files that reside in the lang subdirectory of the skin directory. There you find the localized names for the observation types in section [Labels][[Generic]] and the localized versions of other text in section [Texts].
-- 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 visit https://groups.google.com/d/msgid/weewx-user/4f44a64d-7bb8-4d83-93b2-3f4ffdf35ebdn%40googlegroups.com.
