mololab / json-translator

jsontt 💡 - AI JSON Translator with GPT + other FREE translation modules to translate your json/yaml files into other languages ✅ Check Readme ✌ Supports GPT / DeepL / Google / Bing / Libre / Argos

Home Page:https://mololab.org/jsontt/npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to set the translation module when using the package like with the CLI

andyjamesn opened this issue · comments

When using the cli you can use -m to set the translation module.

But when using the package eg:

let es_lang = await translator.translateObject(
  en_lang,
  translator.languages.English,
  translator.languages.Spanish
);

How do you set the translation module?

@andyjamesn Currently it is not available. Planning to add it soon!