Translation into german

185 views
Skip to first unread message

Hans Cilker

unread,
Jul 27, 2020, 12:32:16 PM7/27/20
to weewx-user

Hallo together, i've taken a look at the doc's and i did a search in the net, but nothing fit to my ideas. I want to translate the standard output into german, but i find not everything i want to translate. Is there inside the doc's a place, where i can find in which files i ve to look for finding whats to translate? For example, i found nothing wher to translat " Monthly Reports: and Yearly Report. Thanks a lot
Hans

Tom Keffer

unread,
Jul 27, 2020, 1:27:00 PM7/27/20
to weewx-user
Hello, Hans

Did you look at the section Localization in the Customizing Guide? 

On Mon, Jul 27, 2020 at 9:32 AM 'Hans Cilker' via weewx-user <weewx...@googlegroups.com> wrote:

Hallo together, i've taken a look at the doc's and i did a search in the net, but nothing fit to my ideas. I want to translate the standard output into german, but i find not everything i want to translate. Is there inside the doc's a place, where i can find in which files i ve to look for finding whats to translate? For example, i found nothing wher to translat " Monthly Reports: and Yearly Report. Thanks a lot
Hans

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c02044f3-2aa2-4931-9e07-1e83e019b1d9n%40googlegroups.com.

Hans Cilker

unread,
Jul 27, 2020, 2:18:23 PM7/27/20
to weewx-user
yea, that i found, but not where to change the Headlines and the parts above, sorry may be thats to high for me. I was looking for : Monthly Reports as an example, this i did not founf, also Current Conditions  and so on, but i think its me who is not able to find that points, therefore the question if ther is a place where i can found all together, or where all files are written i have to change.

Tom Keffer

unread,
Jul 27, 2020, 2:23:05 PM7/27/20
to weewx-user
If you are localizing the Seasons skin, the files would be found in /etc/weewx/skins/Seasons if you did a package install. They would be found in /home/weewx/skins/Seasons if you did a setup.py install.

Look for files with suffixes of ".inc" and ".tmpl".

-tk

Tom Keffer

unread,
Jul 27, 2020, 2:24:22 PM7/27/20
to weewx-user
Oh, and look in the "NOAA" subdirectory as well. That would be /etc/weewx/skins/Seasons/NOAA or /home/weewx/skins/Seasons/NOAA.

Hans Cilker

unread,
Jul 27, 2020, 2:43:19 PM7/27/20
to weewx-user
thanks a lot and of cours i did a "package install ", the outher i would have done never. I was very happy to make it work withou any trouble because for Nexus the support is not very good and i was short nefore to buy a Davis Vantage 2 with an built in Server. Ok, i will try my best to make it speaking geman, but this evening i try to manage the ftp shit. nice evening

Vetti52

unread,
Jul 27, 2020, 2:57:02 PM7/27/20
to weewx-user
And you will have to look into weewx.conf. Here are my adoptions:

[Station]
    # Start of week (0=Monday, 6=Sunday)
    week_start = 0

[StdReport]
...
    [[Defaults]]

        [[[Units]]]
...
            [[[[Labels]]]]
                day = " Tag", " Tage" 
                hour = " Stunde", " Stunden"
                minute = " Minute", " Minuten"
                second = " Sekunde", " Sekunden"
...
        [[[Labels]]]

            # Set to hemisphere abbreviations suitable for your location:
            hemispheres = N, S, O, W
 
            # Generic labels, keyed by an observation type.
            [[[[Generic]]]]
                barometer = Barometer
                dewpoint = Taupunkt
                ET = ET
                heatindex = Hitzeindex
                inHumidity = Innenluftfeuchte
                inTemp = Innentemperatur
                outHumidity = Luftfeuchte
                outTemp = Außentemperatur
                radiation = Sonnenstrahlung
                rain = Regen
                rainRate = Regenrate
                UV = UV Index
                windDir = Windrichtung
                windGust = Böen
                windGustDir = Böenrichtung
                windSpeed = Windgeschwindigkeit
                windchill = Windchill
                windgustvec = Böenvektor
                windvec = Windvektor

          [[[Almanac]]]

            # The labels to be used for the phases of the moon:
            moon_phases = Neumond, zunehmende Sichel, zunehmender Halbmond, zweites Viertel, Vollmond, drittes Viertel, abnehmender Halbmond, abnehmende Sichel

All of the rest I found in the skin files, so far I could find it.
Hope, that helps

-Peter
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
Message has been deleted

Hans Cilker

unread,
Jul 28, 2020, 11:50:41 AM7/28/20
to weewx-user
Oh, and look in the "NOAA" subdirectory as well.
I've taken a look there, at the moment, i have problems there wit german Ü,Ö, Ä .
Then the hedlines, is it a problem if i need more signs then at the Moment? for example: AVG will become Durchschnitt?

Hans Cilker

unread,
Jul 28, 2020, 1:53:02 PM7/28/20
to weewx-user

Michael

unread,
Jul 28, 2020, 2:16:47 PM7/28/20
to weewx-user
take a look into index.html.tmpl, near Line 36

Michael

Hans Cilker

unread,
Jul 28, 2020, 2:23:56 PM7/28/20
to weewx-user
Thanks Michael

Hans Cilker

unread,
Jul 30, 2020, 11:21:09 AM7/30/20
to weewx-user
So far, most is done to translate in German. The  Seasons/NOAA both is not to translate, the german words would be much longer an then they dont fit to the table. One further point which i could not find: "Rain (weekly total)", its existing inside 2 files, but only as lable. Is it possible to change that there, or is it at one other place to find?

Michael

unread,
Jul 31, 2020, 1:09:12 PM7/31/20
to weewx-user
Hi Hans,

you can change it in skin.conf:

        [[[weekrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Rain (daily total) 

change the text right from label =

Michael

Hans Cilker

unread,
Aug 1, 2020, 4:17:03 AM8/1/20
to weewx-user
Hi Michael,
i've tried it:
[[[yearrain]]]

            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                # aggregate_interval = 2629800 # the length of a nominal month
                aggregate_interval = 604800    # one week
                label = Regen (Summen Woche)
               
But still no effekt on the output
ok, i lwill keep it for the moment

gjr80

unread,
Aug 1, 2020, 4:35:12 AM8/1/20
to weewx-user
Did you force WeeWX to regenerate the plot? If a plot involves an aggregate the plot is only generated every ‘aggregate interval’ seconds. Since you have an aggregate interval of seven days that plot will only be generated every seven days. Just delete all of your plots on your WeeWX machine to force re-generation on the next report cycle.

Gary

Also, be careful of browser caches.

Hans Cilker

unread,
Aug 1, 2020, 6:50:44 AM8/1/20
to weewx-user
Hi Gary,
it was the plot, now its working, thanks to you and the outher supporting me.

hctp...@googlemail.com

unread,
Aug 1, 2020, 7:47:41 AM8/1/20
to weewx-user
Hi Hans,

if you want to be consequent, should it not be "Windkühle" instead of Windchill...? ;-)
Much nicer would be "Windfrösteln" ...! :-)

Regards,
Christian

Hans Cilker

unread,
Aug 1, 2020, 8:52:31 AM8/1/20
to weewx-user
Hi Christian,
i beleive better it would be "gefühlte Themperatur" but for the future i will think to delete this value from the output. I have never seen the benefit inside this windchill, because it depends on everybodys peronal feelings and the location where he is at the moment. At the moment i think most peaple know this from the weather forecast.

Vetti52

unread,
Aug 1, 2020, 3:13:00 PM8/1/20
to weewx-user
I used the term "windchill" also, because there is no equivalent in german. The term "Gefühlte Temperatur" would include heat index and wind chill as well. For Weewx there are two separate equations, as Tom Keffer described here: https://github.com/weewx/weewx/wiki/Wind-chill-and-heat-index. Accoring to this, Weewx should either show heat index or wind chill, but not both at the same time.

For Germany, you find some explanation at DWD and how to calculate it (in German):
https://www.dwd.de/DE/service/lexikon/begriffe/G/Gefuehlte_Temperatur_pdf.pdf;jsessionid=0757E41936A5FBE5AE949853A89BC778.live31081?__blob=publicationFile&v=4

--Peter
Reply all
Reply to author
Forward
0 new messages