Custom MT
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 reload the configuration after you save or update Custom MT code. To reload the configuration, switch to another translator and then back to Custom MT (Custom MT → DeepL Web → Custom MT).
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 of objects - [Schema]
formBuilder: Array of objects - [FormBuilder]
lang: object <source: Array, target: Array>
source: Array of objects <{name: string, value: string}>
target: Array of objects <{name: string, value: string}>
request: object - [Request&Response]
components: object - [Components]
{
"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": {},
"components": {}
}