In the project directory:
$ npm install
$ node src/index.js [targetLanguage] [srtFileLocation]
$ node src/index.js [targetLanguage] [srtFileLocation] [mergedLanguage]
$ node src/index.js zh-CN ./sample.srt
Translate .srt subtitle from one language to another, with the possibility to merge two languages in one subtitle file.
JavaScript