@paulo9mv/ra-language-pt-br
v1.4.2
Published
Brazilian Portuguese messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services
Downloads
4
Maintainers
Readme
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.
Installation
npm install --save @paulo9mv/ra-language-pt-br
or
yarn add @paulo9mv/ra-language-pt-br
Usage
import ptBrMessages from '@ra-language-pt-br';
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.