Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Vertex AI Translation ist eine der drei vortrainierten Vertex AI-APIs in Google Distributed Cloud (GDC) Air-Gapped. Mit dem Vertex AI Translation-Dienst können Sie Text, der in mehr als zwanzig Sprachen geschrieben wurde, ins Englische übersetzen.
Vertex AI Translation bietet die folgenden Methoden, die in Distributed Cloud verfügbar sind:
Gibt eine Liste der von der Vertex AI Translation API unterstützten Sprachen zurück. Eine vollständige Liste der unterstützten Sprachen finden Sie unter Unterstützte Sprachen für Vertex AI Translation.
Wenn Sie die Vertex AI Translation API, insbesondere die Methode translateText, verwenden, sollten Sie die folgenden Aspekte berücksichtigen:
Die maximale Eingabelänge für zu übersetzende Inhalte beträgt 1.024 Zeichen.
Die translateText-Methode unterstützt keine Batch-Verarbeitung.
Zeichentypen und große Textabschnitte wirken sich auf die Übersetzungsqualität aus.
Wenn Sie also Probleme mit der Übersetzung haben, gehen Sie so vor:
Entfernen Sie alle Sonder- und Escapezeichen, die sich auf die Verarbeitung der Anfrage auswirken könnten.
Reduzieren Sie die Eingabegröße, indem Sie die Inhalte in kleinere Sätze aufteilen.
Übersetzen Sie jeden der kleineren Sätze noch einmal, indem Sie sie in separaten Anfragen an den Endpunkt senden.
Weitere Informationen finden Sie unter translateText.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eVertex AI Translation, available on Google Distributed Cloud (GDC) air-gapped, allows you to translate text from over twenty languages into English.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers various methods, including \u003ccode\u003ebatchTranslateDocument\u003c/code\u003e for large volumes, \u003ccode\u003edetectLanguage\u003c/code\u003e to identify the source language, and \u003ccode\u003etranslateText\u003c/code\u003e for direct text translation.\u003c/p\u003e\n"],["\u003cp\u003eVertex AI Translation supports obtaining operational statuses through the \u003ccode\u003egetOperation\u003c/code\u003e and \u003ccode\u003elistOperations\u003c/code\u003e methods, alongside getting all the languages supported by the service with \u003ccode\u003egetSupportedLanguages\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etranslateText\u003c/code\u003e method has a maximum input limit of 1024 characters and does not support batching, requiring special characters to be removed and large text to be broken into sentences to improve quality.\u003c/p\u003e\n"],["\u003cp\u003eA glossary can optionally be created for defining terms to translate and a project setup is required before making translation requests, while failure to follow these limiting considerations might result in an \u003ccode\u003eAITR2130\u003c/code\u003e error.\u003c/p\u003e\n"]]],[],null,["# Learn about translation features\n\nVertex AI Translation is one of the three Vertex AI\npre-trained APIs on Google Distributed Cloud (GDC) air-gapped. With the\nVertex AI Translation service, you can translate text written in more than\ntwenty languages into English.\n\nVertex AI Translation offers the following methods available in\nDistributed Cloud:\n\nTo optionally define terms to translate, see\n[Create and use a glossary](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-glossary).\n\nBefore making translation requests, [set up a translation project](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vai-set-up-translation).\nYou can test the Vertex AI Translation API on Distributed Cloud by\n[translating text](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/quickstart-translation)\nfrom one language to another.\n\nConsiderations\n--------------\n\nWhen using the Vertex AI Translation API, particularly the `translateText`\nmethod, consider the following aspects:\n\n- The maximum input length of contents for translation is 1024 characters.\n- The `translateText` method doesn't support batching.\n- Types of characters and large portions of text affect translation quality.\n Therefore, if you experience translation issues, follow these steps:\n\n 1. Remove all special and escape characters that might affect the processing of the request.\n 2. Reduce the input size by splitting the contents into smaller sentences.\n 3. Translate each of the smaller sentences again by sending them in separate requests to the endpoint.\n\nFor more information, see [`translateText`](/distributed-cloud/hosted/docs/latest/gdch/apis/vertex-ai/translation/rest/v3/projects/translateText).\n| **Important:** Failure to follow these limiting considerations might result in error [`AITR2130 - TranslationServiceInternal`](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-troubleshooting/vertex-ai-translation#TranslationServiceInternal)."]]