Dokumentverzeichnis

Glossar-API

Glossar erstellen

/v1/glossary/create

Erstellen Sie ein neues Glossar mit Begriffen und Übersetzungen.

Beispiel

curl
1curl -X POST 'https://dltranslator.com/api/v1/glossary/create' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5  "name": {
6    "id": "N9aErn"
7  },
8  "targetLang": "English",
9  "keys": "[\"储蓄分流\"]",
10  "translated": "{'储蓄分流':'Diversion of household deposits'}"
11}'

Anfrageparameter

ParameterTypStandardBeschreibungBeispiel
*nameString-

Glossar-Name

Finanzterminologie
descString-

Glossar-Beschreibung

-
*targetLangString-
  • Zeigt an, dass dieses Glossar bei der Übersetzung von Dokumenten in die „Zielsprache" wirksam verwendet wird
  • Unterstützte Sprachen: Abfrage
English
*keysString[]-

Liste der Quellbegriffe

["储蓄分流"]
*translatedJSON-

Zuordnung von Begriffen zu Übersetzungen

{'储蓄分流':'Diversion of household deposits'}

Antwort

ParameterTypStandardBeschreibungBeispiel
glossaryIdString-

Glossar-ID

-
Glossar-API
Glossar abfragen