# dx-locale-zh-cn

> Chinese localization messages for DevExpress/DevExtreme

Latest version **1.0.2** (published 2018-01-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install dx-locale-zh-cn
pnpm add dx-locale-zh-cn
yarn add dx-locale-zh-cn
bun add dx-locale-zh-cn
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-01-04 |
| First published | 2017-12-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | beginor |
| Maintainers | beginor |
| Keywords | devexpress, devextreme, locale, chinese, dx, locale, chinese |

## Links

- npm: https://www.npmjs.com/package/dx-locale-zh-cn
- Repository: https://github.com/beginor/dx-locale-zh-cn
- Homepage: https://github.com/beginor/dx-locale-zh-cn#readme
- Issues: https://github.com/beginor/dx-locale-zh-cn/issues
- npm.io page: https://npm.io/package/dx-locale-zh-cn

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-01-04
- 1.0.1 — 2017-12-28
- 1.0.0 — 2017-12-28

## README

# dx-locale-zh-cn

Chinese localization messages for DevExpress/DevExtreme

## Usage

1. Install it with npm:

   `npm install devextreme-intl dx-locale-zh-cn`

2. Add some code to the root component of your app, usually it is `AppComment`, like this:

   ```ts
   import { Component, OnInit } from '@angular/core';

   import { loadMessages, locale } from 'devextreme/localization';
   import { localeMessages, localeName } from 'dx-locale-zh-cn';

   @Component({
       moduleId: module.id,
       selector: 'app-root',
       templateUrl: './app.component.html',
       styleUrls: ['./app.component.scss']
   })
   export class AppComponent implements OnInit {
   
       public ngOnInit(): void {
           loadMessages(localeMessages);
           locale(localeName);
       }
   
   }
   ```

3. Ok, it's done!

---
_Source: https://npm.io/package/dx-locale-zh-cn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
