@spectrum/ra-language-spanish

0.0.1 • Public • Published

Spanish Messages for React-Admin

Spanish Messages for React-Admin, the frontend framework for building admin applications on top of REST/GraphQL services.

Installation

npm install --save @spectrum/ra-language-spanish

Usage

import spanishMessages from '@spectrum/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.

Package Sidebar

Install

npm i @spectrum/ra-language-spanish

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

8.37 kB

Total Files

4

Last publish

Collaborators

  • spectrum