CopyHero
Technical referenceTask input data

Translate task input_data

Configure the translate job_type with the exact target_language input_data field and supported run-time store resolution.

Purpose

A Translate task converts product content to a selected language. Set job_type to translate and store the target choice in input_data.

Valid JSON example

{
  "target_language": "de"
}

JSON fields

FieldTypeRequiredValues and meaning
target_languagestringYesA supported language code, or store_language to use the destination store's configured language when the task runs.

Supported language codes are en, es, fr, de, it, nl, dk, no, sv, fi, pt, pl, ru, tr, zh, ja, ko, ar, hi, id, th, vi, ms, fil, el, and he. Use these exact values; do not use a language name such as German.

Validation and run-time behavior

  • The CopyHero editor requires a target language.
  • store_language is resolved when the workflow runs. It keeps one reusable task aligned with each selected destination store.
  • A store-resolved run requires a suitable destination store and configured language. Correct the destination setting or choose an explicit code before retrying when that context is unavailable.
  • Changing the task affects future runs only.

UI guide

Use Create a Translate task for the corresponding fields and steps in Tasks.