1.0.0 • Published 3 years ago

@achref-mk/react-translator v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

1.0.0

3 years ago