Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 979 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 979 Bytes

Formal German Messages for React-Admin

Formal and informal German messages for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.

react-admin-demo

Installation

npm install --save @haleosde/ra-language-german

Usage

import { Admin } from "react-admin"
import {formalGermanMessages, informalGermanMessages} from "@haleosdev/ra-language-german"
import polyglotI18nProvider from "ra-i18n-polyglot"

const messages = {
    "de-formal": formalGermanMessages,
    "de-informal": informalGermanMessages
}
const i18nProvider = polyglotI18nProvider(locale => messages[locale]);

<Admin locale="de-informal" i18nProvider={i18nProvider}>
    ...
</Admin>

License

This translation is licensed under the MIT License, and sponsored by Haleos.