Hi
I have translated all 3 extensions into danish. I have an issue with 
LoopData and "Rising Slowly" translation, which is still in english. Please 
see screenshot. I have attached screenshot and da.conf
Rgds
Gert

On Friday, July 31, 2026 at 1:36:40 AM UTC+2 Ian Millard wrote:

> Hi John,
>
> This great and very much appreciated.
>
> Cheers,
> Ian
>
> https://steepleclaydonweather.uk
>
>
>
> On 30 Jul 2026, at 21:57, '[email protected]' via weewx-user <
> [email protected]> wrote:
>
> Hi Ian,
>
> Following up: weewx-skyfield 1.15 is out, and the .degrees I mentioned is 
> in it.
>
> $almanac.moon.parallactic_angle still returns radians, as before, for 
> PyEphem compatibility — but you can now override the unit by appending 
> .degrees:
>
> <p>Moon parallactic angle: $("%.1f°" % 
> $almanac.moon.parallactic_angle.degrees)</p>
>
> No #import math needed anymore (though the math.degrees(...) way keeps 
> working — the value is unchanged, still a radians float).  There's also an 
> explicit .radians if you want to spell it out.
>
> The same trick works on every tag that returns radians: the moon's 
> libration_lat/libration_long and colong, Jupiter's cmlI/cmlII, Saturn's 
> earth_tilt/sun_tilt, and $almanac.separation().
>
> Release notes: 
> https://github.com/chaunceygardiner/weewx-skyfield/releases/tag/v1.15
>
> Cheers,
> John
>
> On Thursday, July 30, 2026 at 5:23:30 AM UTC-7 John Kline wrote:
>
>> Hi Ian,
>>   
>> That one is expected: the earth is the observer in the almanac, not one 
>> of the bodies it serves, so there's no $almanac.earth — same as PyEphem, 
>> which has Sun, Moon, and Mercury through Pluto, but no Earth body.
>>
>> Earth's heliocentric longitude is still available, though, just under a 
>> different name. Since the sun's own heliocentric coordinates are undefined 
>> (it sits at the origin), $almanac.sun.hlongitude reports the Earth's 
>> heliocentric ecliptic longitude — a convention inherited from 
>> XEphem/PyEphem. So:
>>
>> $rad($almanac.sun.hlongitude.raw)
>>
>> completes your set of nine, computed in the same frame as the others. 
>>   
>> This is deliberate, and it's a policy: weewx-skyfield aims to be a 
>> drop-in replacement for WeeWX's built-in PyEphem almanac. Every tag that 
>> worked before keeps working and means the same thing — the test suite 
>> carries a permanent parity audit that evaluates everything the built-in 
>> almanac could do against both engines. Where we  knowingly deviate (only 
>> where PyEphem is measurably wrong, e.g. Jupiter's central meridian 
>> longitudes), each case is documented in the README under "Differences from 
>> PyEphem". So when a tag like $almanac.earth doesn't resolve, that's 
>> fidelity to the original almanac rather than a gap.
>>
>> Regards,
>> John
>>
>> On Jul 29, 2026, at 11:54 PM, Ian <[email protected]> wrote:
>>
>> Hi again John,
>>
>>
>>
>> Just one more thing
>>
>> All these values are resolving except for earth
>>
>> $rad($almanac.mercury.hlongitude.raw)
>> $rad($almanac.venus.hlongitude.raw)
>> $rad($almanac.earth.hlongitude.raw)
>> $rad($almanac.mars.hlongitude.raw)
>> $rad($almanac.jupiter.hlongitude.raw)
>> $rad($almanac.saturn.hlongitude.raw)
>> $rad($almanac.uranus.hlongitude.raw)
>> $rad($almanac.neptune.hlongitude.raw)
>> $rad($almanac.pluto.hlongitude.raw)
>>
>> Thanks
>> Ian
>>
>>
>> On Wednesday, July 29, 2026 at 9:13:40 PM UTC+1 Ian wrote:
>>
>>> Hi John,
>>>
>>> I don't no how many times I read through that and I missed it!
>>>
>>> Thanks
>>> Ian
>>>
>>>
>>> On Wednesday, July 29, 2026 at 8:28:46 PM UTC+1 John Kline wrote:
>>>
>>>> Hi Ian,
>>>>
>>>> Thanks for the kind words!
>>>>
>>>> Good news: it's already there.
>>>>
>>>> $almanac.moon.parallactic_angle works today (since 1.0), returning 
>>>> radians as PyEphem did.
>>>>
>>>> For degrees:
>>>>
>>>> #import math
>>>> $("%.1f°" % math.degrees($almanac.moon.parallactic_angle))
>>>>
>>>> Example:
>>>>
>>>> #import math
>>>> ...
>>>> <p>Moon parallactic angle: $("%.1f°" % 
>>>> math.degrees($almanac.moon.parallactic_angle))</p>
>>>>
>>>> It works for any body, not just the moon.
>>>>
>>>> Note: I could make $almanac.moon.parallactic_angle.degrees work (rather 
>>>> than having to concrete it). I return radians for PyEphem compatability; 
>>>> but I could keep that and still support the .degrees. I’ll probably do 
>>>> that 
>>>> in the next release.
>>>>
>>>> Cheers,
>>>> John
>>>> > On Jul 29, 2026, at 12:06 PM, Ian <[email protected]> wrote:
>>>> > 
>>>> > John,
>>>> > 
>>>> > This is really tremendous stuff. I wondered is there any chance that 
>>>> you could add a tag for moon's parallactic angle.
>>>> > Crongratulations and thank you
>>>> > 
>>>> > Ian
>>>>
>>>
>> -- 
>>
>> 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/96983ce1-6398-447d-9f19-1aeeae74faf3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/96983ce1-6398-447d-9f19-1aeeae74faf3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
> -- 
> 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/4c9254cf-005f-4895-97ea-c009f2da6130n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/4c9254cf-005f-4895-97ea-c009f2da6130n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/08be1cfd-62ad-4c22-8491-37ec8ffa0a03n%40googlegroups.com.
# skins/LoopData/lang/da.conf
#
# Danish -- the sample report's reference dictionary.  Every string the
# page renders is here, and nothing else: tests/test_process_packet.py
# fails if a key rendered by index.html.tmpl or realtime_updater.inc is
# missing from this file, or if this file carries a key nothing renders.
#
# Translations are gettext-style: the English string IS the key, and a
# report falls back to the English, one string at a time, for any key its
# language file does not carry -- a partial translation is fine.
# Composed strings keep their {named} placeholders; translators may
# reorder them but must not rename them.
#
# The [Labels], [Units] and [Almanac] sections below are not rendered by
# the page itself -- they are here because this report is loopdata's
# default TARGET report, and loopdata renders live VALUES in the target
# report's language: .ordinal_compass fields read [[Ordinates]],
# moon_phase fields read moon_phases, almanac.<body>.label and
# almanac.<body>.constellation.label fields read the body names and
# [[Constellations]], and station.latitude/longitude fields read
# hemispheres.  See the manual's Translations page for the coupling.

[Labels]

    # Hemisphere abbreviations, for station.latitude/longitude fields
    hemispheres = N, S, Ø, V

[Units]

    [[Ordinates]]

        # Compass ordinal directions, for .ordinal_compass fields; the
        # page's wind dial and windrose use N, E, S and W
        directions = N, NNØ, NØ, ØNØ, Ø, ØSØ, SØ, SSØ, S, SSV, S, VSV, V, VNV, 
NV, NNV, N/A

[Almanac]

    # Moon phase names, for moon_phase loop fields of a loopdata instance
    # whose target report is this one
    moon_phases = Nymåne, Tiltagende seglmåne, Første kvarter, Tiltagende måne, 
Fuldmåne, Aftagende måne, Sidste kvarter, Aftagende seglmåne

    # Body display names, keyed by tag name, for almanac.<body>.label
    # loop fields
    sun = Sol
    moon = Måne
    mercury = Merkur
    venus = Venus
    earth = Jorden
    mars = Mars
    jupiter = Jupiter
    saturn = Saturn
    uranus = Uranus
    neptune = Neptun
    proxima_centauri = Proxima Centauri

    # Constellation display names, keyed by IAU abbreviation, for
    # almanac.<body>.constellation.label loop fields (weewx-skyfield
    # serves them).  English uses the Latin names, so this section
    # doubles as the key reference; almanac.<body>.constellation always
    # reports the Latin name.
    [[Constellations]]
        And = Andromeda
                Ant = Luftpumpen
                Aps = Paradisfuglen
                Aqr = Vandmanden
                Aql = Ørnen
                Ara = Alteret
                Ari = Vædderen
                Aur = Kusken
                Boo = Bjørnevogteren
                Cae = Mejslen
                Cam = Giraffen
                Cnc = Krebsen
                CVn = Jagthundene
                CMa = Store Hund
                CMi = Lille Hund
                Cap = Stenbukken
                Car = Kølen
                Cas = Kassiopeia
                Cen = Kentauren
                Cep = Kefeus
                Cet = Hvalfisken
                Cha = Kamæleonen
                Cir = Passeren
                Col = Duen
                Com = Berenikes Hår
                CrA = Sydkronen
                CrB = Nordkronen
                Crv = Ravnen
                Crt = Bægeret
                Cru = Sydkorset
                Cyg = Svanen
                Del = Delfinen
                Dor = Guldfisken
                Dra = Dragen
                Equ = Føllet
                Eri = Floden Eridanus
                For = Ovnen
                Gem = Tvillingerne
                Gru = Tranen
                Her = Herkules
                Hor = Uret
                Hya = Hydra
                Hyi = Lille Vandslange
                Ind = Indianeren
                Lac = Firbenet
                Leo = Løven
                LMi = Lille Løve
                Lep = Haren
                Lib = Vægten
                Lup = Ulven
                Lyn = Lossen
                Lyr = Lyren
                Men = Taffelbjerget
                Mic = Mikroskopet
                Mon = Enhjørningen
                Mus = Fluen
                Nor = Vinkelmålet
                Oct = Oktanten
                Oph = Slangebæreren
                Ori = Orion
                Pav = Påfuglen
                Peg = Pegasus
                Per = Perseus
                Phe = Føniks
                Pic = Maleren
                Psc = Fiskene
                PsA = Sydlige Fisk
                Pup = Agterskibet
                Pyx = Kompasset
                Ret = Nettet
                Sge = Pilen
                Sgr = Skytten
                Sco = Skorpionen
                Scl = Billedhuggeren
                Sct = Skjoldet
                Ser = Slangen
                Sex = Sekstanten
                Tau = Tyren
                Tel = Teleskopet
                Tri = Trekanten
                TrA = Sydlige Trekant
                Tuc = Tukanen
                UMa = Store Bjørn
                UMi = Lille Bjørn
                Vel = Sejlene
                Vir = Jomfruen
                Vol = Flyvefisken
                Vul = Ræven

[Texts]

    # ── page prose (index.html.tmpl) ─────────────────────────────────────
    "Up to date weather readings for {location}." = "Aktuelle vejrmålinger for 
{location}."
    "Today's Windrose" = "Dagens Vindrose"
    "Wind" = "Vind"
    "Temperature" = "Temperatur"
    "Dew Point" = "Dugpunkt"
    "Humidity" = "Luftfugtighed"
    "Barometer" = "Barometer"
    "Rain" = "Nedbør"
    "Rain Rate" = "Nedbørsrate"
    "Feels Like" = "Føles som"
    "UV Index" = "UV Indeks"
    "Solar Radiation" = "Solindstråling"
    "Air Quality" = "Luftkvalitet"

    # ── live values (read by loopdata itself, from the TARGET report's
    #    [Texts]: the trend.barometer.desc descriptions) ────────────────
    "Rising Very Rapidly" = "Stiger særdeles hurtigt"
    "Rising Quickly" = "Hurtigt stigende"
    "Rising" = "Stigende"
    "Rising Slowly" = "Langsomt stigende"
    "Steady" = "Stabil"
    "Falling Slowly" = "Langsomt faldende"
    "Falling" = "Faldende"
    "Falling Quickly" = "Hurtigt faldende"
    "Falling Very Rapidly" = "Meget hurtigt faldende"

    # ── live strings (realtime_updater.inc) ──────────────────────────────
    "LIVE" = "LIVE"
    "{age}s ago" = "{age}s siden"
    "NO DATA (HTTP {status}) — check loop_data_file" = "NO DATA (HTTP {status}) 
— check loop_data_file"
    "BAD DATA — check loop_data_file" = "BAD DATA — check loop_data_file"
    "OFFLINE" = "OFFLINE"
    "CLICK-ME" = "CLICK-ME"
    "calm" = "stille"
    "gust {gust}" = "vindstød {gust}"
    "gust {gust} @ {dir}" = "vindstød {gust} @ {dir}"
    "today" = "i dag"
    "today {min} to {max}" = "i dag {min} til {max}"
    "max today {max}" = "maks i dag {max}"
    "rate {rate}" = "intensitet {rate}"
    "pm2.5 {pm25}" = "pm2.5 {pm25}"

Reply via email to