Getting Started with the Kendo UI for Angular Internationalization
The Internationalization package applies the desired cultures by providing services and pipes for the parsing and formatting of dates and numbers.
Together with the Localization package, the Internationalization package provides the globalization features of Kendo UI for Angular. For more information on the globalization aspects which are available for each component, refer to the article on globalization support.
For more information on the date and number formats Kendo UI for Angular supports, refer to the kendo-intl GitHub repository.
Basic Usage
The following example demonstrates how to utilize the Internationalization package in basic use-case scenarios.
Installation
Download and install the package:
npm install --save @progress/kendo-angular-intl @progress/kendo-licensing
Once installed and depending on the requirements of your project, refer to the documentation on services or pipes.
Follow the instructions on the Kendo UI for Angular My License page to activate your license. You can skip this step if your application already contains a Kendo UI license file.
Dependencies
The Internationalization package requires the following peer dependencies that have to be installed by your application:
- @angular/common
- @angular/core
- @progress/kendo-licensing
- rxjs
The following dependencies will be installed automatically:
- @telerik/kendo-intl
Functionality and Features
- Loading default and additional locale data
- Dynamically changing locale data
- Parsing and formatting of dates and numbers
- Services
- Pipes