- @lion/ajax@0.4.0 - babel-plugin-extend-docs@0.2.0 - @lion/button@0.7.0 - @lion/calendar@0.9.0 - @lion/checkbox-group@0.10.0 - @lion/dialog@0.7.0 - @lion/fieldset@0.13.0 - @lion/form-core@0.1.0 - @lion/form-integrations@0.1.0 - @lion/form@0.6.0 - @lion/icon@0.6.0 - @lion/input-amount@0.7.0 - @lion/input-date@0.7.0 - @lion/input-datepicker@0.14.0 - @lion/input-email@0.8.0 - @lion/input-iban@0.9.0 - @lion/input-range@0.4.0 - @lion/input@0.7.0 - @lion/localize@0.11.0 - @lion/overlays@0.16.0 - @lion/radio-group@0.10.0 - @lion/select-rich@0.18.0 - @lion/select@0.7.0 - @lion/steps@0.5.0 - @lion/switch@0.10.0 - @lion/tabs@0.4.0 - @lion/textarea@0.7.0 - @lion/tooltip@0.11.0 - @lion/validate-messages@0.1.0 |
||
|---|---|---|
| .. | ||
| _docs | ||
| docs | ||
| src | ||
| test | ||
| test-helpers | ||
| CHANGELOG.md | ||
| index.js | ||
| package.json | ||
| README.md | ||
| test-helpers.js | ||
Localize
export default {
title: 'Localize/Intro',
};
Is meant to translate text into multiple languages. In it's simplest form it is a function that returns the translated text for a namespace + key.
Live Demo/Documentation
See our storybook for a live demo and documentation
Features
- Uses es modules
- Formatting of numbers, amounts
- Formatting of dates
Further examples can be seen at Features Overview Demo and a more in depth description can be found at Localize System Overview.
Content
| Feature | Description |
|---|---|
| Translate Text | Load and translate text in multiple languages |
| Format Numbers | Format numbers in multiple languages |
| Format Dates | Format dates in multiple languages |
How to use
Installation
npm i --save @lion/localize
import { localize } from '@lion/localize';