Daveiano / weewx-wdc

Weather Data Center skin for WeeWX
https://www.weewx-hbt.de/
GNU General Public License v3.0
48 stars 14 forks source link

Add Moon phases translations #264

Open aryiu opened 7 months ago

aryiu commented 7 months ago

Is your feature request related to a problem? Please describe. No possibility of translating Moon phases in Celestial page.

moon-phases

Describe the solution you'd like

Daveiano commented 5 months ago

Added in 8006446 and will be included in the next release.

You can translate the moon phases by adding something like this to it.conf:

[Almanac]
    # The labels to be used for the phases of the moon:
    moon_phases = Nuova, Crescente, Primo quarto, Gibbosa crescente, Piena, Gibbosa calante, Ultimo quarto, Calante

I also added defaults for the planet names in it.conf:

    "Mars" = "Marte"
    "Jupiter" = "Giove"
    "Saturn" = "Saturno"
    "Venus" = "Venere"
aryiu commented 5 months ago

Thank you! You can also add this in the [Texts] section of it.conf for translating the card tags:

 "Phase" = "X"
 "New moon" = "X"
 "Full moon" = "X"