Custom MT

Requires a minimum version of VNTranslator: Pro 0.8.6 & Neo 0.8.0. Some parameters only work in the Pro Version.

To open Custom MT:

  • From Launcher: Menubar -> Translator -> Double Click on the MT Engine

  • From Settings: Settings -> MT Engines -> Click on the MT Engine

The Launcher does not automatically load the configuration when you save or update the Custom MT code. So switch from Custom MT to another translator (Custom MT → DeepL Web → Custom MT) to reload the configuration.

Configuration

Write the Custom MT code using the JSON object structure format

  • configVersion: number

  • name: string

  • title: string

  • description: string

  • version: string

  • icon: object

    • default: string

  • schema: array[]

  • formBuilder: array[]

  • lang: object

    • source: array[]

    • target: array[]

  • request: object

  • components: object

{
    "configVersion": 3,
    "name": "openai",
    "title": "OpenAI",
    "description": "Translate natural language text",
    "version": "1.0",
    "icon": {
        "default": "openai.png"
    },
    "schema": [],
    "formBuilder": [],
    "lang": {
        "source": [
            { "name": "Japanese", "value": "japanese"}
        ],
        "target": [
            {"name": "English", "value": "english"}
        ]
    },
    "request": {
        "method": "http_post"
    },
    "components": {}
}

Last updated