json-autotranslate
Version:
Translate a folder of JSON files containing translations into multiple languages.
13 lines (12 loc) • 413 B
JavaScript
;
exports.__esModule = true;
var google_translate_1 = require("./google-translate");
var deepl_1 = require("./deepl");
var dry_run_1 = require("./dry-run");
var manual_1 = require("./manual");
exports.serviceMap = {
'google-translate': new google_translate_1.GoogleTranslate(),
deepl: new deepl_1.DeepL(),
'dry-run': new dry_run_1.DryRun(),
manual: new manual_1.ManualTranslation()
};