Davis forecast translations. **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
User avatar
wsnoordbergum
Gold Boarder
Gold Boarder
Posts: 166
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Davis forecast translations. **solved**

Post by wsnoordbergum »

I use the console weather forecast on my website in Dutch [forecast-textnl]
Is it possible to change the translation, because "windy" is translated to "winderig" but I think this should be "veel wind"
I guess the translation is not done locally on meteobridge but is loaded externally?
So the language files are not editable?

Any insight on how the translation is done would be appreciated
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 8017
Joined: Mon Oct 01, 2007 10:51 pm

Re: Davis forecast translations

Post by admin »

Davis forecast texts are hard coded in several languages. I changed "winderig" into "veel wind" for next release.
User avatar
wsnoordbergum
Gold Boarder
Gold Boarder
Posts: 166
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: Davis forecast translations

Post by wsnoordbergum »

Thank you!
User avatar
wsnoordbergum
Gold Boarder
Gold Boarder
Posts: 166
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: Davis forecast translations. **solved**

Post by wsnoordbergum »

For the time being I made a small php script which replaces the string "Winderig" to "Veel wind" in a template file
As I am now using mostly CumulusMX on a raspberry Pi for my website data I use the meteobridge to send the forecast string to my webserver because the raspberry Pi it cannot get the console forecast directly
Because I really like the consoles forecast over the Cumulus forecast based upon the Zambretti forecast of CumulusMX
The script is executed once every 30 minutes and replaces some strings on the template file, CumulusMX then reads that template file and uses it to create the realtime gaugefile for the steel series gauges on my site
Thus giving the desired forecast
If the translation is adapted, I can simply return to normal use of the forecast string created by my Console and meteobridge without the replacement of strings by php
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 8017
Joined: Mon Oct 01, 2007 10:51 pm

Re: Davis forecast translations. **solved**

Post by admin »

Current release of Meteobridge should have it fixed.
User avatar
wsnoordbergum
Gold Boarder
Gold Boarder
Posts: 166
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: Davis forecast translations. **solved**

Post by wsnoordbergum »

admin wrote: Mon Nov 24, 2025 12:05 pm Current release of Meteobridge should have it fixed.
Thank you!
User avatar
wsnoordbergum
Gold Boarder
Gold Boarder
Posts: 166
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: Davis forecast translations. **solved**

Post by wsnoordbergum »

First of all, my apologies for replying to this old topic
But it seems the translation is not modified, or maybe not in all forecast strings
My meteobridge uploads the Davis forecast to my webserver
CumulusMX downloads the forecast.txt file to it's root directory and then uses this file for the forecast on the dashboard as well for the Steelseries gauges
If I use the textnl selector, "windy" is still being translated to "winderig", the proper translation of " windy" is "veel wind" in Dutch

For now I'm using the English forecast, I do not use the php script anymore as a workaround it is much easier now CumulusMX has the ability to use a forecast txt file from it's root directory

Maybe this translation can be changed in a future release?
Post Reply