---
schema_version: "1"
id: cea7fa896030b014e5d3ef51ec853aa8154ac62c629457601cfa324b91a8bf5b
title: Internationalize Branch Labels
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-app-development/internationalize-branch-labels.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/internationalize-branch-labels.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 99161232c5f9a290abcabdeb1e5abda983cca2fa475a7773a00c5f6b11c4ebcc
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Internationalize Branch Labels

Custom split activity branch labels support internationalization (i18n).

![Decision tree of outcomes for Buy, Sell, and Custom Label, respectively: Send SMS, Update Contact, or Custom Activity, each with 1 day turnaround.](https://developer.salesforce.com/docs/media/images/jb-custom-split.gif)

To internationalize branch labels, map `branchResult` to an i18n key defined in the activity's config.json under the `lang` object. The outcomes are mapped to keys in an object map called `outcomeLabelLanguageMap`.

## Sample

The JSON object in this `lang` object uses the outcomes from the sample in [Define Custom Split Activity with Multiple Outcomes](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/extending-activities.md), which defines branches with Buy, Sell, and Hold outcomes.

<!-- Moved Gist inline (mc-doc/88a78a6834808dd8e97b6609bb5fc311) -->

```json
"lang": {
    "en-US": {
        "name": "Custom Split",
        "description": "An app extension with multiple outcomes.",
        "buyLabel": "Buy",
        "sellLabel": "Sell",
        "holdLabel": "Hold"
    }
}
```

Map each outcome to its associated i18n key by defining a label map. Each entry is `branchResult: i18n key`:

<!-- Moved Gist inline (mc-doc/7f6ce4e37af81a49d51e0183cd8d9811) -->

```json
"outcomeLabelLanguageMap": {
    "buy_item": "buyLabel",
    "sell_item": "sellLabel",
    "hold_item": "holdLabel"
}
```

If no mapping is found and `metaData.label` is not defined, Journey Builder displays the outcome's `arguments.branchResult`.
