kendo-angular
kendo-angular copied to clipboard
Editor not refetching messages when MessageService.notify is called
Describe the bug
The editor does not refresh the localization messages properly when changing messages and calling the notify
method on MessageService
as it is suppose to work.
To Reproduce Steps to reproduce the behavior:
- Go onto the StackBlitz
- Wait for 2 seconds once the components render so the
setTimeout
ends. - Put your mouse over the
Bold
tool of theEditor
and notice the message hasn't changed. - Open the
DateTimePicker
and notice that theToday
message changed properly there.
Expected behavior
The editor refreshes its messages when we call notify
on MessageService
.
Browser
- OS: Windows 10 Pro x64
- Browser: Edge
- Version: 89.0.774.77
Additional context The language switch seems to works if it's done before the Editor is loaded, but if it's already loaded, it won't change the messages properly.
NOTE : Opened this issue so the original post doesn't get spammed : https://github.com/telerik/kendo-angular/issues/362
@mbechev I think you mean pkg:editor
, no ?
@mbechev I don't know if it's linked to this, but every single components doesn't seems to check the MessageService, so we have done that all for nothing 😐
We had to put the messages component inside the editor, the colorPicker, DatePicker, DateTimePicker, TimePicker, etc.. because they were not fetching their messages from the service.