New to Kendo UI for AngularStart a free 30-day trial

Represents a base class for a service that returns localized messages.

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

Definition

Package:@progress/kendo-angular-l10n

Syntax:

ts
export class CustomMessageService extends MessageService {
  public get(key: string): string {
    return this.messages[key];
  }
}

Methods

Returns a localized message for the supplied key.

Parameters:_keystring

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

Returns:

string

  • The localized message for this key or undefined if not found.

Notifies the components that the messages changed.

Parameters:rtl?boolean

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

In this article
DefinitionMethodsgetnotify
Not finding the help you need?
Contact Support