Naughty Platypus Memorabilia
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

locale-json-generator

1.0.4 • Public • Published

locale-json-generator

Package to generate locale based JSON from excel sheet.

Assumptions Made;

You will work on node 6 or above (preferred LTS) You will not change the format of the XL Sheet ( Please refer translation folder for example sheet) By default support to EN, NL, FR, DE, will add more if need arises or if anyone requests at clisking@gmail.com.

INSTALL

npm i locale-json-generator -D

Run the project as standalone

Goto command line tool and type npm start

Run the project as dependency to any project

In the package.json file of you project update you scripts part with

scripts:{ "translate" :"generate-translations ./src/FILE.xlsx ./dest/" }

Goto command line tool and type npm run translate; You will see the results in ./dest/ as en.json, nl.json, fr.json, de.json.

Keywords

install

npm i locale-json-generator

Downloadsweekly downloads

6

version

1.0.4

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability