ra-language-chinese

2.0.10 • Public • Published

Chinese Messages for React-Admin

Chinese messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.

Installation

npm install --save ra-language-chinese

Usage

import polyglotI18nProvider from 'ra-i18n-polyglot';
import chineseMessages from 'ra-language-chinese';

const i18nProvider = polyglotI18nProvider(() => chineseMessages, 'ch');

const App = () => (
    <Admin i18nProvider={i18nProvider}>
        ...
    </Admin>
);

Use reference

Please check the official website tutorial.changing-the-default-locale

License

This translation is licensed under the MIT License.

Dependents (1)

Package Sidebar

Install

npm i ra-language-chinese

Weekly Downloads

318

Version

2.0.10

License

MIT

Unpacked Size

7.99 kB

Total Files

4

Last publish

Collaborators

  • c4w