Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lisanjs/lisan
- Owner: lisanjs
- License: mit
- Created: 2020-01-11T14:26:03.000Z (almost 5 years ago)
- Default Branch: development
- Last Pushed: 2023-01-06T02:41:44.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T20:05:37.051Z (about 1 month ago)
- Topics: deno, i18n, internationalization, javascript, jsx, l10n, language, localization, multi-language, nodejs, react, typescript
- Language: TypeScript
- Homepage: https://lisanjs.com
- Size: 3.61 MB
- Stars: 96
- Watchers: 4
- Forks: 3
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - lisan - ๐i18n, Reimagined! ๐A blazing fast and super small i18n library for Javascript (TypeScript)
README
i18n, Reimagined!
A blazing fast and super small i18n library for Javascript
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.
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).