Lisan

Lisan

  • Docs
  • API
  • Try it out
  • Examples
  • GitHub
Lisan

Lisani18n, Reimagined.

DOCS
TRY ONLINE COMPILER
EXAMPLES
Star us, bitte :)
Join our Stargazers :)
Twinkle, Twinkle, Little Star
Yıldız
A blazing fast and super small i18n library for Javascript - Only 1.7kb
🚀New! - Now supports JSX Interpolations! 🎉
// 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

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

Framework Agnostic

Lisan only provides plain Javascript objects and pure functions.

Modular

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

Pluralization & Localization

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

Lisan
Docs
AboutComponentsPluginsGuide & TipsAPI Reference
Ecosystem
LisanLisan LocalesLisan CompilerLisan CLILocalization PluginLoader PluginLisan Types
More
IssuesGitHubSupport Us