Help Center

Translate Template

Translate

The translate template allows you to translate text content from a source language to a target language.

Parameters

Parameter Type Required Description
source_lang string Yes ISO code of the source language (e.g., it, en, de)
target_lang string Yes ISO code of the target language (e.g., en, fr, es)
id_field string Yes Name of the field that uniquely identifies each product

Example Request

{
  "template": "translate",
  "source_lang": "it",
  "target_lang": "en",
  "id_field": "sku",
  "products": [
    {
      "sku": "PROD-001",
      "name": "Tavolo in legno",
      "description": "Tavolo artigianale in legno massello"
    }
  ]
}

Result

Text fields are translated into the target language while maintaining the original product structure.