Volunteer translators needed!

330 views
Skip to first unread message

Tom Keffer

unread,
May 14, 2021, 5:36:01 PM5/14/21
to weewx-user
This is something that almost anyone who knows a language besides English can do. No technical skills are necessary!

Thanks to user Karen, a key feature of the up-and-coming V4.6 is easy localization of the skins that come with WeeWX. Right now, they have all been localized to English, but only one (Seasons) to other languages (German and Thai). I'd like to see more translations before the release.

For the moment, let's focus on the Seasons skin, because that's what most people use. Attached is the English localization file for Seasons. All you have to do is go through the file line by line, translating the right hand side to your native language. For example, if you wanted to localize to the French language, you would change this

    "Current Conditions" = Current Conditions
    "Current Weather Conditions"  = Current Weather Conditions
    "Day" = Day
    "from" = "from"     # Direction context. The wind is "from" the NE
    "Maximum Temperature" = Maximum Temperature
    ...

to this

    "Current Conditions" = Conditions Actuelles
    "Current Weather Conditions"  = Conditions Météorologiques Actuelles
    "Day" = Jour
    "from" = de     # Direction context. The wind is "from" the NE
    "Maximum Temperature" = Température maximale
    ...

And so on. Easy!

Alternatively, if your GitHub-fu is up to it, you can send me a PR with a new localization file in the target language.

Please: native or fluent speakers only! We don't need Google translations!

Thanks.

-tk

en.conf

paul.ba...@gmail.com

unread,
May 15, 2021, 12:42:51 PM5/15/21
to weewx-user
Hello="Bonjour "

I volunteer for a French translation (including capitalization and typo ?)

Paul

Δημήτρης Βήχος

unread,
May 15, 2021, 3:41:09 PM5/15/21
to weewx-user
i have a little repository on github with greek translate of all pages of seasons skin and weewx.conf. you can use it as you need!!


also i have the same of greek translate of Belchertown skin

Karen K

unread,
May 15, 2021, 4:10:16 PM5/15/21
to weewx-user
hobbyl...@gmail.com schrieb am Samstag, 15. Mai 2021 um 21:41:09 UTC+2:
i have a little repository on github with greek translate of all pages of seasons skin and weewx.conf. you can use it as you need!!

What we ask people for is to translate the file en.conf attached to the initial post. Could you think to do that? 

I guess it would be no good idea if we try to pull the greek words out of your repository without knowing anything about the greek language. That would not work.
 

Δημήτρης Βήχος

unread,
May 15, 2021, 6:03:19 PM5/15/21
to weewx-user
i think greek users , need greek instructions  , german users need german instructions etc. with this thought , my instructions in github are in greek.
however this is my greek translate in en.conf .
gr.conf

Tom Keffer

unread,
May 15, 2021, 9:16:15 PM5/15/21
to weewx-user
Thank you for the Greek translations!

While it would be nice, maintaining native language instructions is way beyond the capabilities of this all-volunteer project!

--
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/39fe8ab8-ac89-4629-8176-ea0eba4f3595n%40googlegroups.com.

Vetti52

unread,
May 18, 2021, 10:38:02 AM5/18/21
to weewx-user
I found an entry in skin.conf missing in en.conf:
For German:
[HistoryReport]
    monthnames = Jan, Feb, Mar, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez

and some translations for Beaufort as text version would also be helpful.
Here is my german version, used in current.inc:
#if $varExists('day.windSpeed') and $current.windSpeed.raw is not None
  #if $current.windSpeed.beaufort.raw == 0
    #set $word_current_beaufort = 'Windstille'
  #elif $current.windSpeed.beaufort.raw == 1
    #set $word_current_beaufort = 'Leiser Zug'
  #elif $current.windSpeed.beaufort.raw  == 2
    #set $word_current_beaufort = 'Leichte Brise'
  #elif $current.windSpeed.beaufort.raw == 3
    #set $word_current_beaufort = 'Schwache Brise'
  #elif $current.windSpeed.beaufort.raw == 4
    #set $word_current_beaufort = 'Mäßige Brise'
  #elif $current.windSpeed.beaufort.raw == 5
    #set $word_current_beaufort = 'Frische Brise'
  #elif $current.windSpeed.beaufort.raw == 6
    #set $word_current_beaufort = 'Starker Wind'
  #elif $current.windSpeed.beaufort.raw == 7
    #set $word_current_beaufort = 'Steifer Wind'
  #elif $current.windSpeed.beaufort.raw == 8
    #set $word_current_beaufort = 'Stürmischer Wind'
  #elif $current.windSpeed.beaufort.raw == 9
    #set $word_current_beaufort = 'Sturm'
  #elif $current.windSpeed.beaufort.raw == 10
    #set $word_current_beaufort = 'Schwerer Sturm'
  #elif $current.windSpeed.beaufort.raw == 11
    #set $word_current_beaufort = 'Orkanartiger Sturm'
  #elif $current.windSpeed.beaufort.raw == 12
    #set $word_current_beaufort = 'Orkan'
  #else
    #set $word_current_beaufort = 'N/A'
  #end if

And, well, the modules, I have in use, alltime seasons and forecast, which have their own extra labelling text built in, are always a pain to keep them uptodate with seasons skin. Adopting all kind of those modules to the new version might be laborious and take some time. Sigh...

Tom Keffer

unread,
May 18, 2021, 10:48:02 AM5/18/21
to weewx-user
Thanks.

Where does [HistoryReport] come from? It's not part of anything in WeeWX that I can tell.

Same with the Beaufort texts.

And, I agree, converting a skin is a right pain. 

Vetti52

unread,
May 18, 2021, 12:41:21 PM5/18/21
to weewx-user
I did some tracing back. Now I think, that the history report stanza in skin.conf was introduced by the alltime module. Not sure yet. The beaufort texts might be a result of a copy/paste action from a source, I found somewhere here in the forum, ages ago....
BTW, in index.html.tmpl, where the history report belongs to, the part <div id="history_widget" class="widget"> needs translations also, which seem not to be covered by the en.conf file. But maybe, this was another place, where the alltime module introduced some text.
Somewhen I started to translate everything into German, that I found to be presented as text on the web site. I found it in weewx.conf, index.html.tmpl,  skin.conf, all forecast and alltime related files. I did not look at where these labels came from in original. Anyway, now I know about them, in case updates will mess up with my translations.

But you have a good source for your de.conf file already. So there is no need that I contribute that part.

Lo LL

unread,
May 19, 2021, 6:18:45 PM5/19/21
to weewx-user
Hope it helps.
Au revoir.
fr.conf

Tom Keffer

unread,
May 20, 2021, 9:24:15 AM5/20/21
to weewx-user
Thanks. However, I already have a French translation. 

Would you be willing to do the translation for the Standard skin? It is attached.

en.conf

Karen K

unread,
May 23, 2021, 2:52:31 PM5/23/21
to weewx-user
This is the german translation of the Standard skin.

There is a problem. "at" translates to "um", if it is a time, but "at" translates to "am" if it is a date. If it is date and time together, it depends what comes first. 

Examples:
17,5°C um 14:48:49
29,2°C am 10.05.2021 (um) 16:23:35 ("um" is optional there)
de.conf

Tom Keffer

unread,
May 23, 2021, 9:08:48 PM5/23/21
to weewx-user

Claudio

unread,
Aug 29, 2021, 7:10:41 AM8/29/21
to weewx-user
I have translated in Italian the  localization file. It may have some errors, any feedback is welcome !
Claudio

conf_it.txt

Tom Keffer

unread,
Sep 6, 2021, 11:09:43 AM9/6/21
to weewx-user
Claudio, apologies for taking so long to get back to you. Thank you so much for your submission!

The format of the locale files has changed slightly since the alpha version. I have reformatted your file to conform to the new format. It is attached.

Note that there are several new entries, marked with question marks ('?'). Could you please translate these as well? Specifically, they are:

    "Always down" = "Always down?"
    "Always up" = "Always up?"
    "Current conditions, and daily, monthly, and yearly summaries" = "Current conditions, and daily, monthly, and yearly summaries?"
    "Evapotranspiration (daily total)" = "Evapotranspiration (daily total)?"
    "Evapotranspiration (hourly total)" = "Evapotranspiration (hourly total)?"
    "Evapotranspiration (weekly total)" = "Evapotranspiration (weekly total)?"
    "full" = "full?"    # As in "The Moon is 21% full"
    "History" = "History?"
    "more than yesterday" = "more than yesterday?"
    "This station is controlled by <a href='https://weewx.com'>WeeWX</a>, an experimental weather software system written in Python." = "This station is controlled by <a href='https://weewx.com'>WeeWX</a>, an experimental weather software system written in Python.?"
    "Total daylight" = "Total daylight?"
    "Totals" = "Totals?"

Thank you in advance!

-tk




--
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.
it.conf
Reply all
Reply to author
Forward
0 new messages