Mars Translate (LLM)
How do I add glossaries and reference translations?
{
"srcLang": "en-GB",
"trgLang": "ru-RU",
"domain": "patent",
"engine": "Mars Translate (LLM)",
"prompt": "Optional, prompt message within 500 characters",
"text": [
"A standard Button",
"Welcome to the WordPress development repository! "
],
"reference": {
"glossary": [
{
"source": "button",
"target": "按钮",
"applyTo": [0]
}
],
"memory": [
{
"source": "standard button",
"target": "标准按钮",
"applyTo": [0]
}
]
}
}The applyTo parameter indicates which sentences the term and translation memory should be applied to (0-based).
Last updated