Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 937 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 937 Bytes

Swedish Translations for react-admin

Swedish translations for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services. Built upon Stefan Wallin's translations for admin-on-react, aor-language-swedish.

react-admin-demo

Installation

npm install --save @kolben/ra-language-swedish

or

yarn add @kolben/ra-language-swedish

Usage

import swedishMessages from 'ra-language-swedish';

const messages = {
    'sv': swedishMessages,
};
const i18nProvider = locale => messages[locale];

<Admin locale="sv" i18nProvider={i18nProvider}>
  ...
</Admin>

License

This translation is licensed under the MIT Licence.