@luc4sguilherme/ra-language-portuguese
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Brazilian Portuguese Messages for React-Admin

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

react-admin-demo

Installation

npm install --save @luc4sguilherme/ra-language-portuguese

or

yarn add @luc4sguilherme/ra-language-portuguese

Usage

import ptBrMessages from '@luc4sguilherme/ra-language-portuguese';
import polyglotI18nProvider from 'ra-i18n-polyglot';

const messages = {
  'pt-br': ptBrMessages,
};
const i18nProvider = polyglotI18nProvider(locale => messages[locale], 'pt-br');

<Admin i18nProvider={i18nProvider}>
  ...
</Admin>

License

This translation is licensed under the MIT License.

Package Sidebar

Install

npm i @luc4sguilherme/ra-language-portuguese

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

29.1 kB

Total Files

8

Last publish

Collaborators

  • luc4sguilherme