# 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://a.sfdcstatic.com/developer-website/sfdocs/marketing-cloud/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](/docs/marketing/marketing-cloud/guide/extending-activities.md), which defines branches with Buy, Sell, and Hold outcomes.

```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`:

```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`.
