What is Lisan Locales?
Lisan Locales is a javascript package contains production-ready Localization configurations.
If you think localization configuration
of your native language is missing or wrong,
please feel free to
open an issue,
or submit a
pull request.
Installation
You can install lisan-locales from the sources below, as you see fit.
from npm
npm install lisan-locales
from CDN
<script src="https://unpkg.com/lisan-locales/dist/index.umd.js" type="text/javascript"></script>
After adding the script tag above,
all localization configs will be accessible via
window.lisanLocaleAll
variable.
You can also add single Localization configuration as below:
<script src="https://unpkg.com/lisan-locales/dist/tr.umd.js" type="text/javascript"></script>
After adding the script tag above,
Turkish localization config will be accesible via
window.lisanLocaleTr
variable.
List of Locales
You can find the full list of Localization configs, lisan-locale repository.
Compatibility
Platform | IE | Edge | Firefox | Chrome | Nodejs |
---|---|---|---|---|---|
Version | 8+ | All | All | All | 8+ |