https://github.com/bernardoduarte/ra-language-portuguese
Portuguese messages for @marmelab's (https://github.com/marmelab/react-admin), the frontend framework for building admin applications on top of REST/GraphQL services.
https://github.com/bernardoduarte/ra-language-portuguese
Last synced: about 1 month ago
JSON representation
Portuguese messages for @marmelab's (https://github.com/marmelab/react-admin), the frontend framework for building admin applications on top of REST/GraphQL services.
- Host: GitHub
- URL: https://github.com/bernardoduarte/ra-language-portuguese
- Owner: bernardoduarte
- License: mit
- Created: 2022-09-28T23:24:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T23:10:00.000Z (over 3 years ago)
- Last Synced: 2024-10-29T12:59:34.523Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portuguese Messages for React-Admin
Portuguese messages for [react-admin](https://github.com/marmelab/react-admin), the frontend framework for building admin applications on top of REST/GraphQL services.
## Installation
```sh
npm install --save @bernardoduarte/ra-language-portuguese
```
## Usage
```jsx
import { Admin } from 'react-admin';
import pt from '@bernardoduarte/ra-language-portuguese';
import polyglotI18nProvider from 'ra-i18n-polyglot';
const messages = { pt };
const i18nProvider = polyglotI18nProvider((locale) => messages[locale], 'pt');
...
```
## License
This translation is licensed under the MIT License.