1.0.11 • Published 5 years ago

@reibo/check-i18n-files v1.0.11

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

Check i18n files

npm GitHub npm

CircleCI CircleCI

styled with prettier

Do you have a directory full of i18n files, and sometimes you are missing some translations. But you don't see it?

Than this tool can help you to search which ones are missing.

It go through all files, and at the end it gives an overview which one is ok and which translations are missing.

Install

Get it from npm

npm i -D @reibo/check-i18n-files

Analyze your json files

This will generate a report in the command line

check-i18n-files -d Directory 

Write to a csv file

This will write the values to a csv file

check-i18n-files -d Directory -c

The name of the generated file is i18n

Read and save to json files

This will read a csv file and save them to the according values The name of the file to read is i18n.

check-i18n-files -d Directory -r

arguments

Arguments that can be passed

ArgumentWhat it does
-d or --dirThe directory containing the translation json files
-c or --csvCreate a csv out of the translated files
-w or --writeRead the csv and write to json files
-s or --seperatorSeperator for the csv files, by default ','
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago