2.0.8 • Published 4 years ago

@ordinateio/lexicon v2.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Lexicon

Manages translations of the user interface.

Installation

npm install --save-dev @ordinateio/lexicon

Usage

import {Lexicon} from "@ordinateio/lexicon";

const lexicon = new Lexicon({
    locale: 'ru',
    translations: {
        test: {
            en: "On the other hand ...",
            ru: "Не следует, однако...",
        }
    }
});

console.log(lexicon.get("test"));
2.0.8

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.3

4 years ago

1.0.2

4 years ago

2.0.2

4 years ago

1.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago