Code Monkey home page Code Monkey logo

kendo-angular-i18n-sample's Introduction

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

kendo-angular-i18n-sample's People

Contributors

angular-cli avatar dmihaylo avatar raisolution avatar svetq avatar tsvetomir avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.