TRANSLATOR
created by Achref Makhloufi
translator is a package that provides an easy way to create your multi lang system
Installation
translator is tested under Node.js v18.
Install the dependencies and start the server.
cd your-project
npm i @achref-mk/translator
create the lang file
npx @achref-mk/translator --init
add your lang items inside the json file
const translator = require("@achref-mk/translator");
translator.get("lang_key");
you can specify your lang file
translator.get("lang_key", "lang_file");
License
MIT
it's free