New to Kendo UI for Angular? Start a free 30-day trial
MessageService
Updated on Jun 12, 2025
Represents a base class for a service that returns localized messages.
For more information, refer to the section on using the message service.
ts
export class CustomMessageService extends MessageService {
public get(key: string): string {
return this.messages[key];
}
}
Methods
get | ||||||
|---|---|---|---|---|---|---|
|
Returns a localized message for the supplied key. | ||||||
| ||||||
|
notify | ||||||
|---|---|---|---|---|---|---|
|
Notifies the components that the messages changed. | ||||||
|