// translations/main.en-US.json
{
"locale": "en-US",
"entries": {
"helloWorld": "Hello World",
"helloPerson": "Hello ${name}"
}
}
Store your translations as JSON,
// dictionaries/main.en-US.js
module.exports = {
locale: "en-US",
entries: {
"helloWorld": "Hello World",
"helloPerson": ({ name }) => `Hello ${name}`
}
};
Use them as pure JS functions.

Blazing Fast
Blazing Fast
Lisan is ~50x faster than traditional i18n libraries on average!

Framework Agnostic
Framework Agnostic
Lisan only provides plain Javascript objects and pure functions.

Modular
Modular
Store your translations as separate dictionaries and load only the ones you need.

Pluralization & Localization
Pluralization & Localization
Set Date/Time, Numbers, Currency formats for any region, with ease.