Apply Glossaries in Translation via API

To use a glossary in translation, you need the glossary's ID number.

The glossary's ID is in the web address of the glossary's page, for example, 1234 in this case:

studio.inten.to/glossaries/intento-glossary-1234/terms

When you send a translation request, add a "glossary" parameter and specify the glossary's ID.

You can add several glossaries to the same translation: in this case, the glossaries are applied one after another, in the order they appear in the request.

Example:

"context": { "text": text, "from": source_lang, "to": target_lang, "glossary": [ {"id": 1234}, {"id": 1235}, {"id": 1456}] }

Here, glossary 1234 is applied first, then glossary 1235, and finally, glossary 1456.