A library used to apply i18n on html automatically
You can find the full documentation on the github page.
This readme will the basic on how to get started in nodejs
install the module using npm
npm install its-i18n
And then use it and register as a webcomponent
import element from 'its-i18n'
customElements.define('i18n-container', element)
You can see the examples on the github page and interact with them
TLDR version of https://omarcastro.github.io/its-i18n/contributing:
- Have NodeJs & Git installed
git clone https://github.com/OmarCastro/its-i18n.git
cd its-i18n
npm run dev:open
npm ci
runs automatically when npm run dev:open
(or any of the npm scripts) when node_modules is absent on, if you do not wish to open the browser, run npm run dev
instead
You can play with the library by going to the playground/
folder of by using an online IDE