# Translate task input_data


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


Canonical URL: https://www.copyhero.app/help/technical-reference/task-input-data/translate

## Purpose [#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 [#valid-json-example]

```json
{
  "target_language": "de"
}
```

## JSON fields [#json-fields]

| Field             | Type   | Required | Values and meaning                                                                                                    |
| ----------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------- |
| `target_language` | string | Yes      | A 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 [#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 [#ui-guide]

Use [Create a Translate task](/help/tasks/translate-task) for the corresponding
fields and steps in **Tasks**.