f4870cd530 | ||
---|---|---|
.. | ||
LICENSE.md | ||
README.md | ||
index.js | ||
package.json |
README.md
English Messages for React-Admin
English messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
Installation
npm install --save ra-language-english
Usage
import englishMessages from 'ra-language-english';
import polyglotI18nProvider from 'ra-i18n-polyglot';
const messages = {
'en': englishMessages,
};
const i18nProvider = polyglotI18nProvider(locale => messages[locale]);
<Admin locale="en" i18nProvider={i18nProvider}>
...
</Admin>
License
This translation is licensed under the MIT License, and sponsored by marmelab.