Weather34 MB-SMART NANOSD TEMPLATE

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

briis
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Fri May 03, 2019 2:31 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by briis » Tue Nov 26, 2019 2:33 pm

Hi Brian,
I have attached a Danish Translation of the Language File, maybe you can include that for other Danes to use.
Also I found a small bug in the Setup Dialog. When asking for what language Weather Underground should get the forecast in, you can select dk-DK as option for Denmark. This will not work, it has to be da-DK.

Cheers,
Bjarne
Attachments
lang.da.php.zip
(5.81 KiB) Downloaded 2 times

weatherist34
Gold Boarder
Gold Boarder
Posts: 226
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Tue Nov 26, 2019 3:51 pm

thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian

svampen
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Fri Aug 16, 2019 10:57 am
Location: Sweden
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by svampen » Tue Nov 26, 2019 6:41 pm

The new font is much appreciated! :D

A small, but easy to fix, language-find:
rainf-year-month.php
line49 should be:

echo '<maxlow>'.$lang['Ago'].'</maxlow></weather34top>';

..
All the best from an extremely gray Sweden. I think we have had only three hours with visible sun during November... Sigh...

prestwickwx
Senior Boarder
Senior Boarder
Posts: 47
Joined: Sat Aug 23, 2014 3:28 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by prestwickwx » Fri Nov 29, 2019 3:56 pm

Brian,

Thanks for the quick "last month" update. Hope you had fun shopping! :D

Chuck

xxvincixx
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Apr 19, 2019 2:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xxvincixx » Fri Nov 29, 2019 7:20 pm

weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
hi brian, I use the beta version (but I think the translation error is also in 1.05) and I noticed a translation error in the Italian language ...the correct translation is NUBI SPARSE

I attach 2 images to make you understand what you should change
Attachments
Annotazione 2019-11-29 181500.jpg
Annotazione 2019-11-29 181500.jpg (13.55 KiB) Viewed 148 times
Annotazione 2019-11-29 181441.jpg
Annotazione 2019-11-29 181441.jpg (13.76 KiB) Viewed 148 times

weatherist34
Gold Boarder
Gold Boarder
Posts: 226
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Fri Nov 29, 2019 7:23 pm

prestwickwx wrote:
Fri Nov 29, 2019 3:56 pm
Brian,

Thanks for the quick "last month" update. Hope you had fun shopping! :D

Chuck
no comment words and thoughts of shopping with wife for almost 12 hours on the busiest shopping day of the year as xmas period is not recognized has a holiday or celebrating period here are unrepeatable :-( leave house at 7am return haggard at 7pm .

as for fix something so small but significant I should receive this merit badge :-)
cssdebug.png
cssdebug.png (50.14 KiB) Viewed 148 times

weatherist34
Gold Boarder
Gold Boarder
Posts: 226
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Fri Nov 29, 2019 8:06 pm

xxvincixx wrote:
Fri Nov 29, 2019 7:20 pm
weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
hi brian, I use the beta version (but I think the translation error is also in 1.05) and I noticed a translation error in the Italian language ...the correct translation is NUBI SPARSE

I attach 2 images to make you understand what you should change
feel free to edit the meter phrases I'm sorry I don't speak Italian only English or Turkish

#metar conditions
$lang['Snow-Metar'] = "Neve";
$lang['Light Rain-Metar'] = "Pioggia Leggera";
$lang['Heavy Rain-Metar'] = "Pioggia Forte";
$lang['Moderate Rain-Metar'] = "Pioggia Moderata";
$lang['Light Snow-Metar'] = "Neve Leggera";
$lang['Moderate Snow-Metar'] = "Neve Moderata";
$lang['Snow Grains-Metar'] = "Grani Di Neve";
$lang['Sleet-Metar'] = "Nevischio";
$lang['Foggy-Metar'] = "Nebbioso";
$lang['Misty-Metar'] = "Nebbioso";
$lang['Hail and Rain-Metar'] = "Ave e Pioggia";
$lang['Ice Crystals-Metar'] = "Cristalli di Ghiaccio";
$lang['Ice Pellets-Metar'] = "Cristalli di Ghiaccio";
$lang['Thunderstorm-Metar'] = "Tuono";
$lang['Sand Storm-Metar'] = "Tempesta di Sabbia";
$lang['Volcanic Ash-Metar'] = "Cenere Vulcanica";
$lang['Tornado-Metar'] = "Tornado";
$lang['Water Sprout-Metar'] = "Tornado";
$lang['Clear-Metar'] = "Cielo Sereno";
$lang['Mostly Clear-Metar'] = "Cielo Sereno";
$lang['Partly Cloudy-Metar'] = "Parzialmente Nuvoloso";
$lang['Mostly Scattered-Metar'] = "Nubi Sparse"; //corrected
$lang['Mostly Cloudy-Metar'] = "Prevalentemente Nuvoloso";
$lang['Overcast-Metar'] = "Nuvoloso";
$lang['Clouds-Metar'] = "Nuvoloso";
$lang['Conditions-Metar'] = "Condizioni";
$lang['Showers-Metar'] = "";
$lang['Rain-Metar'] = "Pioggia";
$lang['Lowest'] ='Basso';
$lang['Highest'] ='&nbsp;&nbsp;Alto';
$lang['Yesterday'] ='Ieri';

xxvincixx
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Apr 19, 2019 2:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xxvincixx » Fri Nov 29, 2019 8:43 pm

weatherist34 wrote:
Fri Nov 29, 2019 8:06 pm
xxvincixx wrote:
Fri Nov 29, 2019 7:20 pm
weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
hi brian, I use the beta version (but I think the translation error is also in 1.05) and I noticed a translation error in the Italian language ...the correct translation is NUBI SPARSE

I attach 2 images to make you understand what you should change
feel free to edit the meter phrases I'm sorry I don't speak Italian only English or Turkish

#metar conditions
$lang['Snow-Metar'] = "Neve";
$lang['Light Rain-Metar'] = "Pioggia Leggera";
$lang['Heavy Rain-Metar'] = "Pioggia Forte";
$lang['Moderate Rain-Metar'] = "Pioggia Moderata";
$lang['Light Snow-Metar'] = "Neve Leggera";
$lang['Moderate Snow-Metar'] = "Neve Moderata";
$lang['Snow Grains-Metar'] = "Grani Di Neve"; GRAGNOLA
$lang['Sleet-Metar'] = "Nevischio";
$lang['Foggy-Metar'] = "Nebbioso"; NEBBIA
$lang['Misty-Metar'] = "Nebbioso"; NEBBIA
$lang['Hail and Rain-Metar'] = "Ave e Pioggia"; GRANDINE E PIOGGIA
$lang['Ice Crystals-Metar'] = "Cristalli di Ghiaccio";
$lang['Ice Pellets-Metar'] = "Cristalli di Ghiaccio"; NEVISCHIO
$lang['Thunderstorm-Metar'] = "Tuono";
$lang['Sand Storm-Metar'] = "Tempesta di Sabbia";
$lang['Volcanic Ash-Metar'] = "Cenere Vulcanica";
$lang['Tornado-Metar'] = "Tornado";
$lang['Water Sprout-Metar'] = "Tornado";
$lang['Clear-Metar'] = "Cielo Sereno";
$lang['Mostly Clear-Metar'] = "Cielo Sereno";
$lang['Partly Cloudy-Metar'] = "Parzialmente Nuvoloso";
$lang['Mostly Scattered-Metar'] = "Nubi Sparse"; //corrected
$lang['Mostly Cloudy-Metar'] = "Prevalentemente Nuvoloso";
$lang['Overcast-Metar'] = "Nuvoloso";
$lang['Clouds-Metar'] = "Nuvoloso";
$lang['Conditions-Metar'] = "Condizioni";
$lang['Showers-Metar'] = "";
$lang['Rain-Metar'] = "Pioggia";
$lang['Lowest'] ='Basso';
$lang['Highest'] ='&nbsp;&nbsp;Alto';
$lang['Yesterday'] ='Ieri';
I have corrected the incorrect entries in uppercase ;)

xxvincixx
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Apr 19, 2019 2:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xxvincixx » Fri Nov 29, 2019 9:04 pm

weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
I edited the entries in the language file, but I can't remove the "cloudy" entry ... how can i take it off ??? I can't find the word to be deleted
Attachments
Annotazione 2019-11-29 200101.jpg
Annotazione 2019-11-29 200101.jpg (17.96 KiB) Viewed 133 times

svampen
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Fri Aug 16, 2019 10:57 am
Location: Sweden
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by svampen » Sun Dec 01, 2019 10:09 am

Edit/removed: Augh. I misread...

weatherist34
Gold Boarder
Gold Boarder
Posts: 226
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Mon Dec 02, 2019 9:04 am

xxvincixx wrote:
Fri Nov 29, 2019 9:04 pm
weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
I edited the entries in the language file, but I can't remove the "cloudy" entry ... how can i take it off ??? I can't find the word to be deleted
perhaps tell me what you want to achieve and the relevant italian word .

xxvincixx
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Apr 19, 2019 2:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xxvincixx » Mon Dec 02, 2019 7:36 pm

weatherist34 wrote:
Mon Dec 02, 2019 9:04 am
xxvincixx wrote:
Fri Nov 29, 2019 9:04 pm
weatherist34 wrote:
Tue Nov 26, 2019 3:51 pm
thanks for taking the time for translating to danish however it wont be implemented until all alignments are checked and matched so probably looking at early january. thanks for da-DK error unfortunately never had to use so its a case of when it gets used in a certain language it often can highlight overlooked errors made on my behalf.i really dont have time at present but your efforts are greatly appreciated..brian
I edited the entries in the language file, but I can't remove the "cloudy" entry ... how can i take it off ??? I can't find the word to be deleted
perhaps tell me what you want to achieve and the relevant italian word .
if you notice in the image it says NUBI SPARSE and under CLOUDY(NUVOLOSO) .... here, the word cloudy(NUVOLOSO) should not be there

weatherist34
Gold Boarder
Gold Boarder
Posts: 226
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Tue Dec 03, 2019 10:02 am

xxvincixx wrote:
Mon Dec 02, 2019 7:36 pm
weatherist34 wrote:
Mon Dec 02, 2019 9:04 am
xxvincixx wrote:
Fri Nov 29, 2019 9:04 pm


I edited the entries in the language file, but I can't remove the "cloudy" entry ... how can i take it off ??? I can't find the word to be deleted
perhaps tell me what you want to achieve and the relevant italian word .
if you notice in the image it says NUBI SPARSE and under CLOUDY(NUVOLOSO) .... here, the word cloudy(NUVOLOSO) should not be there
are you translating the file others to use if so i can help..

svampen
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Fri Aug 16, 2019 10:57 am
Location: Sweden
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by svampen » Tue Dec 03, 2019 6:10 pm

In some weather conditions, it acctually say ”partly cloudy / cloudy” at the same time. I looked at my weather here and it was the same, but changed according to how it looked outside.
Are you sure you are not chasing a gremlin here? :)

xxvincixx
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Apr 19, 2019 2:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xxvincixx » Tue Dec 03, 2019 6:37 pm

svampen wrote:
Tue Dec 03, 2019 6:10 pm
In some weather conditions, it acctually say ”partly cloudy / cloudy” at the same time. I looked at my weather here and it was the same, but changed according to how it looked outside.
Are you sure you are not chasing a gremlin here? :)
I think you're right ... :) :)

Post Reply