JSPM

ra-language-chinese

2.0.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 150
  • Score
    100M100P100Q75518F
  • License MIT

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

Package Exports

  • ra-language-chinese

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ra-language-chinese) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.