зеркало из
1
0
Форкнуть 0
Sample i18n-enabled Angular application with Kendo UI for Angular
Перейти к файлу
Tsvetomir Tsonev e61642ee53
docs: deprecation notice
2019-04-15 10:40:14 +03:00
e2e feat: upgrade to Angular 4 2017-05-03 14:08:55 +03:00
src feat: add es, production-es configuration profiles 2018-05-21 12:36:27 +03:00
.editorconfig chore: initial commit from @angular/cli 2017-02-13 09:49:04 +02:00
.gitignore feat: upgrade to Angular 4 2017-05-03 14:08:55 +03:00
CONTRIBUTING.md docs: update link to CLA 2017-05-29 10:16:59 +03:00
LICENSE.md docs: switch to MIT license 2017-02-13 17:13:42 +02:00
README.md docs: deprecation notice 2019-04-15 10:40:14 +03:00
angular.json feat: add es, production-es configuration profiles 2018-05-21 12:36:27 +03:00
karma.conf.js feat: update to Angular 6.0.2 2018-05-21 12:11:33 +03:00
package.json feat: add es, production-es configuration profiles 2018-05-21 12:36:27 +03:00
protractor.conf.js feat: upgrade to Angular 4 2017-05-03 14:08:55 +03:00
tsconfig.json feat: upgrade to Angular 4 2017-05-03 14:08:55 +03:00
tslint.json feat: update to Angular 6.0.2 2018-05-21 12:11:33 +03:00

README.md

This repository is no longer updated. To access the current version, refer to the kendo-angular repository.

Kendo UI for Angular: Internationalization

This repository contains a sample application which demonstrates how to translate the built-in messages of the Kendo UI for Angular components.

For more details, refer to the article on localization.

Get Started

  1. Clone this repository by using your favorite Git client or by executing git clone https://github.com/telerik/kendo-angular-i18n-sample.git.
  2. Enter the project directory by running cd kendo-angular-i18n-sample.
  3. Run npm install to install the project dependencies.

Table of Contents

Extracting Messages

To extract the application messages in src/locale/messages.xlf, run the npm run i18n-extract command.

Translating Messages

To automatically translate Kendo UI texts from the @progress/kendo-angular-messages message pack, run the npm run i18n-translate command.

To translate Kendo UI messages for the "es-ES" locale only, run the npm run i18n-translate-kendo-es command.

Running the Application

To run your application with the es-ES locale, run the npm run start-es.

Original Angular CLI Documentation

This project is generated by using the 1.0.0-beta.31 Angular CLI version.

Development Server

  1. To set a development server, run ng serve.
  2. Navigate to http://localhost:4200/.

The application will automatically reload each time you change a source file.

Code Scaffolding

To generate a new component, run the ng generate component component-name command. You can also use ng generate directive/pipe/service/class/module.

Builds

To build the project, run the ng build command. The build artifacts are stored in the dist/ directory. Use the -prod flag for a production build.

Unit Tests

To execute the unit tests through Karma, run the ng test command.

End-to-End Tests

Before running the tests make sure you are serving the application by using the ng serve command.

To execute the end-to-end tests through Protractor, run the ng e2e command.

Further Help

To get support for the Angular CLI tool, either:

Other Kendo UI Sample Projects for Angular

Sample Project Repository Sample Project Documentation
Using Kendo UI with the Angular CLI Get Started
Using Kendo UI for Angular with Angular QuickStart Using with SystemJS
Using Kendo UI for Angular with Angular Seed Not documented
Using Kendo UI for Angular with Angular Universal Universal Rendering
Using Kendo UI for Angular with UI for ASP.NET Core UI for ASP.NET Core Integration
Using Kendo UI for Angular with NativeScript Not documented