Portuguese translations for react-admin, the frontend framework for building admin applications on top of REST services.
yarn add @henriko/ra-language-portuguese
#or
npm install @henriko/ra-language-portuguese
import portugueseMessages from "@henriko/ra-language-portuguese";
import polyglotI18nProvider from "ra-i18n-polyglot";
const messages = {
pt: portugueseMessages,
};
const i18nProvider = polyglotI18nProvider((locale) => messages[locale], "pt");
<Admin i18nProvider={i18nProvider}>...</Admin>;
This project was forked and adapted from original's ra-language-portuguese project.
This translation is licensed under the MIT Licence