> ## Documentation Index
> Fetch the complete documentation index at: https://help.os.translated.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce Marketing Cloud connector

> What the Salesforce Marketing Cloud connector does, what it translates, and how translations come back

For marketing and localisation teams using Marketing Cloud Engagement.

## What it does

The connector bridges Salesforce Marketing Cloud Engagement with TranslationOS through the intake manager in the TranslationOS dashboard.

You browse your business units, pick the content you want translated, and order it. Each finished translation is written back to Marketing Cloud automatically. Your source content is never modified.

## What it translates

Two kinds of content:

* **Data Extension rows.** A translation is written as a new row of the same Data Extension.
* **Email templates.** A translation is written as a copy of the template.

### What it does not translate

* **Text-only emails.** Only HTML emails and template-based emails can be translated.
* **Non-text columns.** Only text fields of a row are sent for translation. Every other column is copied to the translated row unchanged.
* **Shared and synchronised Data Extensions.** These are read-only and belong to another system, so they are never listed.
* **Rows that are already translations.** Only master rows are listed and ordered, even when a Data Extension already holds several languages.

## How translated rows are stored

A translated row carries the same primary key as its master, with the target language in the **locale column**. A **parent column** links it back to its master.

Master rows leave the parent column empty or hold a fixed value such as `MASTER`. The connector fills it on translated rows with the primary key values of the master, joined by `|`.

| Id | Locale | ParentTargetId | Text |
| - | - | - | - |
| 1 | `en-GB` | `MASTER` | Welcome! |
| 1 | `it-IT` | `1\|en-GB` | Benvenuto! |

Your emails then read the row matching the recipient's language.

Both columns have to exist before a Data Extension can be translated. See [Setting up the connector](https://help.os.translated.com/connectors/salesforce-marketing-cloud/setup.md).

## How translated templates are stored

Every translatable part of the template is sent: subject line, preheader, HTML and text views, slots, and blocks.

The copy is created in the same folder and named `<name>_<locale>`. It is hidden from the intake manager list so it cannot be ordered again by mistake. Its customer key identifies it to the connector and must not be changed.

## Language codes

The connector writes language codes the way you already write them. If your locale column holds `en_gb`, the Italian row is written as `it_it`. If it holds `en-GB`, you get `it-IT`.

You do not need to change your codes to match ours. Two things to watch:

* The source and target languages of an order must map to different codes.
* Do not keep the same text in rows with different spellings of the same language, such as `en-GB` and `en_gb`. Keep one and delete the rest.

## Character limits

The length of each Data Extension field is sent to TranslationOS as the character limit for that request. A translation longer than the field is rejected when it is delivered.

A Marketing Cloud Text field holds at most 4000 characters, so make your fields long enough for the languages you order. Translations are often longer than the English source.

## Ordering the same content again

Ordering a master row or a template again **overwrites** the existing translated row or copy for that language. You get one translation per language, not one per order.

If a master row changes after you order it, the columns that are not translated keep the values they had when the order was placed. Order the row again to carry the change over.

## Before you start

* API access to your Marketing Cloud instance, created as an Installed Package
* The business units in scope
* Data Extensions prepared with a locale column and a parent column
* Agreed service types

## Where to go next

> [card] [Set up the connector](https://help.os.translated.com/connectors/salesforce-marketing-cloud/setup.md)

> [card] [Request and track translations](https://help.os.translated.com/connectors/salesforce-marketing-cloud/requesting-and-tracking.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.