Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lisanjs/lisan

๐ŸŒˆ i18n, Reimagined! ๐Ÿš€A blazing fast and super small i18n library for Javascript
https://github.com/lisanjs/lisan

deno i18n internationalization javascript jsx l10n language localization multi-language nodejs react typescript

Last synced: 25 days ago
JSON representation

๐ŸŒˆ i18n, Reimagined! ๐Ÿš€A blazing fast and super small i18n library for Javascript

Awesome Lists containing this project

README

        


Lisan.js


i18n, Reimagined!


A blazing fast and super small i18n library for Javascript


NPM Status
NPM Downloads
Coverage



Website


Installation ยท
API ยท
Guides & Tips ยท
Examples


## Introduction

**Lisan** _(Turkish: lee ยท sun)_ is an i18n library.

It provides all essential tooling to
have **multiple languages** in your applications and
format **numbers**, **currencies**, **ordinals** & **dates** based on locale.

Lisan's biggest difference compared to traditional i18n libraries
is taking advantage of
[ES6 Template Literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)
and using them to generate functions to interpolate strings.


Lisan.js

Check out our [website](https://lisanjs.com/docs/what-is-lisan/) to learn more!

## Highlights

- It's blazing [fast](https://lisanjs.com/docs/performance)!
- Framework Agnostic
- Supports [JSX Interpolations](https://lisanjs.com/docs/jsx-interpolation) ๐Ÿš€**New!**
- Allows you to [lazy load](https://lisanjs.com/docs/lisan-plugin-loader/) your dictionaries.
- [Pluralization](https://lisanjs.com/docs/pluralization/)
- Localization
- Provides a [Compiler](https://lisanjs.com/docs/what-is-lisan-compiler) and a
[Command Line Tool](https://lisanjs.com/docs/what-is-lisan-cli)
- Can be extended with [plugins](https://lisanjs.com/docs/lisan-plugins/) & [adapters](https://lisanjs.com/docs/lisan-adapters/).

## Example Projects

Here you can find some example projects developed by Lisan to quickly get started.

1. [**Hello World (Node)**](https://github.com/lisanjs/examples/tree/master/01-hello-world-node) - Purpose of this example
to demonstrate a minimal setup
to use [LisanJS](https://lisanjs.com).
2. [**Hello World (Browser)**](https://github.com/lisanjs/examples/tree/master/02-hello-world-browser) - Purpose of this example
to demonstrate a minimal setup
to use [LisanJS](https://lisanjs.com) that works on browser.
3. [**Hello World (React)**](https://github.com/lisanjs/examples/tree/master/03-hello-world-react) - This example
shows how to integrate [LisanJS](https://lisanjs.com) into a [ReactJS](https://reactjs.org) application.
4. [**Hello World (Next.js)**](https://github.com/lisanjs/examples/tree/master/04-nextjs-ssr) - Here you can
learn how to use [LisanJS](https://lisanjs.com) with [NextJS](https://nextjs.org) to achieve server side rendering.
5. [**Hello World (Next.js + Lisan Loader Plugin)**](https://github.com/lisanjs/examples/tree/master/05-ssr-lisan-plugin-loader) - When using next.js,
you can also use [lisan-plugin-loader](https://lisanjs.co/docs/lisan-plugin-loader) which is also compatible with server side rendering.

More examples are on the way..

## Badge

Show the world you are using _Lisan_.

[![i18n: lisanjs](https://img.shields.io/badge/i18n-Lisan-62cdc1.svg?style=flat-square)](https://github.com/lisanjs/lisan)

```text
[![i18n: lisanjs](https://img.shields.io/badge/i18n-lisan-62cdc1.svg?style=flat-square)](https://github.com/lisanjs/lisan)
```

## Contributors

Special thanks to [Arif AydoฤŸmuลŸ](https://github.com/arifaydogmus) for designing our awesome logo! ๐Ÿ™

## License

Lisan is [MIT licensed](./LICENCE).