Create language target
Path parameters
Headers
Request
BCP-47 language tag to dub the project into (for example, fr or es-MX). Must be one of the languages the project’s dubbing model supports, and a region-qualified tag must be one of the supported dialects.
Enterprise only. Optional translations to use instead of machine translation. A map from each source segment’s external_id (or its id, if you supplied none) to the translated text; every source segment must be covered exactly once. At most 20,000 entries, totaling at most 4 MiB of text. See Bring your own transcript.
Response
BCP-47 language tag this target is dubbed into.
Lifecycle status: queued (waiting on the project to be ready, or on a worker), processing while it is being dubbed, completed once its output is available, stale when the transcript changed after the output was produced, or failed.
Monotonic counter incremented whenever this target’s transcript changes (a source edit affecting it, or an edit to its translation).
Signed output URLs; null until the target has produced an output (present once completed, and kept while stale — compare output_revision against revision to tell whether the output is up to date).
The revision the current dubbed output was generated from; equal to revision when up to date, and lower when stale. This is null until a generation has completed.
Why this language failed; null unless status is failed, and also null for the few languages that failed before failure reporting was introduced. A code of project_failed means the parent project failed, so read the project for the underlying cause.
Non-fatal conditions raised while dubbing this language, empty when there are none. Reflects the latest generation. Conditions raised while preparing the source are reported on the project instead.