/SubtitleTranslator

Translate .srt subtitle from one language to another, with the possibility to merge two languages in one subtitle file.

Primary LanguageJavaScript

Subtitle Translator

Initial Setup

In the project directory:

$ npm install

Usage:

$ node src/index.js [targetLanguage] [srtFileLocation]

$ node src/index.js [targetLanguage] [srtFileLocation] [mergedLanguage]

Exemple:

$ node src/index.js zh-CN ./sample.srt