Hi Manfred, Tried everything with commas, dots, quotation marks, ... But 
stil I see only 'connected to weatherstation - <date><time>', while 'Date 
received' is missing for the real-time update. Strange enough the sentence 
is correctly presented with the text 'Connected, waiting for...'.


Op zondag 24 mei 2020 21:22:38 UTC+2 schreef Manfred Maier:
>
> I guess the system can't properly work with your commas and dots in your 
> translation. Try to either delete the commas or put the translation in 
> quotes "Verbonden met weerstation,"
>
> Manfred 
>
> Am Sonntag, 24. Mai 2020 20:54:46 UTC+2 schrieb Keimpe Bleeker:
>>
>> Thanks for your much appreciated assistance!
>>
>> I would not dare to change someting deep in de system like in 
>> /weewx/skins/Belchetown/js/belchertown.js.tmpl. Nevertheless and on your 
>> advice, I checked line 839 and it is exactly as you mentioned.
>>
>> In /weewx/skins/Belchertown/skin.conf I have these Dutch terms:
>>
>>         header_last_updated         = Laatste update
>>         mqtt_websockets_connecting  = Verbinden met weerstation,
>>         mqtt_websockets_waiting     = Verbonden, wacht op data.
>>         mqtt_websockets_connected   = Verbonden met weerstation,
>>         mqtt_websockets_stopped     = Updates zijn gestopt
>>         mqtt_websockets_continue    = Updates hervatten
>>         mqtt_websockets_failed      = Verbinding verbroken
>>         mqtt_websockets_lost        = Verbinding verbroken
>>
>> In weewx.conf the term '...websockets...' was not found.  
>>
>>
>>
>>
>>
>> Op zondag 24 mei 2020 20:03:47 UTC+2 schreef Jacques Terrettaz:
>>>
>>> The text is defined by the variable *mqtt_websockets_connected * in 
>>> skin.conf.
>>>
>>> If it does not correspond, check your skin.conf as well as your 
>>> weewx.conf to be sure that you have not the variable   
>>> *mqtt_websockets_connected 
>>>  *defined also elsewhere*.*
>>> If you have changed something in the template 
>>> weewx/skins/Belchetown/js/belchertown.js.tmpl, verify that the line 839 is :
>>>
>>> updated_text = "$obs.label.mqtt_websockets_connected " + updated;
>>>  
>>>
>>> Le dimanche 24 mai 2020 19:38:27 UTC+2, Keimpe Bleeker a écrit :
>>>>
>>>> Thank you so much Jacques Terrettaz, you have solved my time-issue; it 
>>>> seems that I have spoiled a variable!
>>>>
>>>> Last issue is to get the text 'Connected to weather station live. Data 
>>>> received <date, time>' up and running. 
>>>>
>>>>
>>>> [image: Brackets_24052020.jpg]
>>>> As you can see on the screencap, I only get (in Dutch) 'Connected to 
>>>> weatherstation' between brackets and single quotes...
>>>>
>>>>
>>>>
>>>>
>>>> Op zondag 24 mei 2020 10:13:36 UTC+2 schreef Jacques Terrettaz:
>>>>>
>>>>> I think I have found the problem :
>>>>>
>>>>> In your first post I see :
>>>>>
>>>>>     # moment.js default labels formats
>>>>>         time_earthquake                                        = "LLL"
>>>>>         time_lastUpdated                                       = "LL, 
>>>>> LTS"
>>>>>         time_snapshot_records_today_header      = "dddd, LL"
>>>>>         time_snapshot_records_month_header     = "MMMM YYYY"
>>>>>         ...
>>>>>
>>>>> You should replace 
>>>>>  time_lastUpdated by time_last_updated :
>>>>>
>>>>>  # moment.js default labels formats
>>>>>         time_earthquake                                        = "LLL"
>>>>>         *time_last_updated  *                                     = 
>>>>> "LL, LTS"
>>>>>         time_snapshot_records_today_header      = "dddd, LL"
>>>>>         time_snapshot_records_month_header     = "MMMM YYYY"
>>>>>         ....      
>>>>>
>>>>>
>>>>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e9df221c-9e3a-45ad-9657-db2347d35c94%40googlegroups.com.

Reply via email to