Getting Started with the Kendo UI for Angular Localization

This guide provides the information you need to start using the Kendo UI for Angular Localization—it includes instructions about the available installation approaches, the code for running the project, and links to additional resources.

The Localization Package is part of Kendo UI for Angular, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

After the completion of this guide, you will be able to achieve an end result as demonstrated in the following example.

Example
View Source
Change Theme:

Setting Up Your Angular Project

Before you start with the installation of any Kendo UI for Angular control, ensure that you have a running Angular project. The prerequisites to accomplish the installation of the components are always the same regardless of the Kendo UI for Angular package you want to use, and are fully described in the section on setting up your Angular project.

Installing the Package

The Kendo UI for Angular Localization package is automatically installed during the installation process of any Kendo UI for Angular components.

Using the Package

  1. After successfully installing any Kendo UI for Angular component, provide the MessageService service in the constructor in the app.component.ts file:

    import { MessageService } from '@progress/kendo-angular-l10n';
    
    export class AppComponent {
    
    constructor(public messages: MessageService) {}
    }
    
  2. Then, utilize the notify function of the service to change the direction of the used component on button click:

    public toggleRTL() {
        this.rtl = !this.rtl;
        this.messages.notify(this.rtl);
    }
  3. Build and serve the application by running the following command in the root folder.

    ng serve
  4. Point your browser to http://localhost:4200 to toggle the RTL mode of the Grid.

Activating Your License Key

As of December 2020, using any of the UI components from the Kendo UI for Angular library requires either a commercial license key or an active trial license key. If your application does not contain a Kendo UI license file, activate your license key.

Next Steps

Learning Resources