This is a utility to convert translations CSV to JSON and back. CSV is used by our translators.
to-json
to-csv
npm i
node src/index.js to-json < example-source-files/sample-translations_es-LA.csv > example-source-files/sample-translations_es-LA.json
npm i
node src/index.js to-csv < example-source-files/sample-translations_es-LA.json > example-source-files/sample-translations_es-LA.csv
To avoid line break in last JSON field value end, delete trailing line in CVS before parsing.