All Components

MessageService

A base class for a service that returns localized messages.

For more information, refer to the section on using the message service.

Methods

get

Returns a localized message for the supplied key.

Parameters

key string

The message key. For example, "kendo.grid.noRecords".

Returns

string | undefined - The localized message for this key or undefined if not found.

notify

Notifies the components that the messages were changed.

Parameters

rtl? boolean

(Optional) A new value for the text direction token.

In this article