French Messages for React-Admin
French messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
Installation
npm install --save ra-language-french
Usage
import { Admin } from 'react-admin';
import frenchMessages from 'ra-language-french';
import polyglotI18nProvider from 'ra-i18n-polyglot';
const messages = {
'fr': frenchMessages,
};
const i18nProvider = polyglotI18nProvider(locale => messages[locale]);
<Admin locale="fr" i18nProvider={i18nProvider}>
...
</Admin>
License
This translation is licensed under the MIT License, and sponsored by marmelab.