--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Weewx user's group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_zdzxLmLZhE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the Google Groups "Weewx user's group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_zdzxLmLZhE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
import localelocale.setlocale(locale.LC_ALL, '')
Weewx has been designed to make localization fairly straightforward. Here are the steps you will need to take in order to localize to a non-English language and/or locale.
First, you will need to go through the templates and translate to your target language. Obvious text strings such as "Current Weather Conditions" will need to be translated.
Next, you will need to go through skin.conf and modify options to follow local conventions. This includes dates and labels.
Date formats may need to be changed. For example, if you wish to follow the European convention Day/Month/Year, rather than the US convention of Month/Day/Year, then lines such as
bottom_label_format = %m/%d/%y
need to be changed to
bottom_label_format = %d/%m/%y
There are several other, similar, date formats.
There are several almanac labels that may need to be changed. These include:
hemisphere = N, S, E, W
and
moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent
You will also have to change the generic labels given to your weather observations:
barometer = Barometer
dewpoint = Dew Point
heatindex = Heat Index
inHumidity = Inside Humidity
inTemp = Inside Temperature
outHumidity = Outside Humidity
outTemp = Outside Temperature
radiation = Radiation
rain = Rain
rainRate = Rain Rate
rxCheckPercent = ISS Signal Quality
windDir = Wind Direction
windGust = Gust Speed
windGustDir = Gust Direction
windSpeed = Wind Speed
windchill = Wind Chill
windgustvec = Gust Vector
windvec = Wind Vector
extraTemp1 = Pond TemperatureFinally, you will need to set the environment variable LANG to reflect your locale. For example, assuming you set
$ export LANG=es_ES.UTF-8
before running weewx, then the local Spanish names for days of the week and months of the year will be used. The decimal point for numbers will also be modified appropriately.