@benjujo/ra-language-spanish
v4.7.2
Published
Spanish messages for react-admin.
Downloads
6
Maintainers
Readme
Spanish Messages for React-Admin
Spanish messages for react-admin.
Installation
npm install --save @benjujo/ra-language-spanish
Usage
import { Admin } from 'react-admin';
import spanishMessages from '@benjujo/ra-language-spanish';
import polyglotI18nProvider from 'ra-i18n-polyglot';
const messages = {
'es': spanishMessages,
};
const i18nProvider = polyglotI18nProvider(locale => messages[locale]);
<Admin locale="es" i18nProvider={i18nProvider}>
...
</Admin>
License
This translation is licensed under the MIT License.