AutoML Translation API is deprecated and will no longer be available on Google Cloud after September 30, 2025. The functionality and management of custom models is available through Cloud Translate API - Advanced (v3).

Before you begin

Before you can use AutoML Translation, you must enable it for your project. Open the AutoML Translation UI and select your project from the drop-down list in the upper right of the title bar. The application walks you through the necessary steps, which are also described below.

Create a Cloud Storage bucket

Create a Google Cloud Storage bucket to store the sentence pairs that you will use to train your custom model. The bucket name must be in the format: project-id-vcm. The following command creates a storage bucket in the us-central1 region named project-id-vcm.

gsutil mb -p project-id -c regional -l us-central1 gs://project-id-vcm/
We recommend the following file structure for your Cloud Storage files: gs://project-id-vcm/dataset-name/documents/document-name.txt

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月11日 UTC.