@denisazevedo/ra-language-pt-br
v3.5.1
Published
Brazilian Portuguese messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services
Downloads
8
Maintainers
Readme
Brazilian Portuguese Messages for React-Admin
Note:
This project is a temporary fork based on the great work made by @gucarletto in his ra-language-pt-br repository.
Reason: the published package is not working properly, so I have forked and adapted it to be able to create and publish the npm package again, see issue.
Brazilian Portuguese messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
Installation
npm install --save @denisazevedo/ra-language-pt-br
Usage
import ptBrMessages from '@denisazevedo/ra-language-pt-br';
import polyglotI18nProvider from 'ra-i18n-polyglot';
const messages = {
'pt-br': ptBrMessages,
};
const i18nProvider = polyglotI18nProvider(locale => messages[locale]);
<Admin locale="pt-br" i18nProvider={i18nProvider}>
...
</Admin>
License
This translation is licensed under the MIT License.