# 🧠 Did You Know? How to Make Transifex Live Merge or Split Text Segments

**URL:** <https://community.transifex.com/t/did-you-know-how-to-make-transifex-live-merge-or-split-text-segments/4703>\
**Category:** Tips and Tricks\
**Tags:** live, html, split\
**Created:** [May 19, 2025, 2:30pm UTC](https://community.transifex.com/t/did-you-know-how-to-make-transifex-live-merge-or-split-text-segments/4703 "2025-05-19T14:30:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandy\_DLR](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/sandy_dlr/32/2498_2.png) [@Sandy\_DLR](https://community.transifex.com/u/Sandy_DLR)\
**Post date:** [May 19, 2025, 2:30pm UTC](https://community.transifex.com/t/did-you-know-how-to-make-transifex-live-merge-or-split-text-segments/4703/1 "2025-05-19T14:30:24Z")

</div>

When using Transifex Live, you don’t have to settle for the default way it breaks your website text into strings.

With a little understanding of how the Live parser works, you can merge multiple pieces of text into one string — or intentionally split them into separate segments. This can give you more control over translation quality and context.

* * *

## 🔗 How to Merge Multiple Text Elements into One Segment

If you’d like several elements to appear as a single string for translation, use a block-level HTML tag (like` <div>, <p>, <li>, etc.`) that contains both plain text and inline tags (like `<span>, <strong>, <em>, etc.).`

### ✅ Example: A product description

```auto
<p>

Meet the all-new <span>EcoBrew 3000</span> — your eco-friendly coffee solution.

</p>

```

Detected segment:

`Meet the all-new <span>EcoBrew 3000</span> — your eco-friendly coffee solution.`

### ✅ Example: A special offer

```auto
<div>

Get <strong>20% off</strong> when you sign up before <em>April 30</em>!

</div>

```

Detected segment:

`Get <strong>20% off</strong> when you sign up before <em>April 30</em>!`

💡 Why this works: When a block contains both plain text and inline HTML, Transifex Live treats the entire block as one segment.

* * *

## ✂ How to Split Content Into Separate Segments

If you want finer control, like translating repeated or dynamic parts independently, you can structure your HTML so that Live splits it into separate segments.

### ✅ Example: List of benefits

```auto
<p>

<span>Fast setup</span>

<span>No coding required</span>

<span>Free trial available</span>

</p>

```

Detected segments:

```auto
Fast setup

No coding required

Free trial available

```

“Only 3 left in stock!”

💡 Why this happens: Transifex Live detects text inside bound elements as separate segments because the DOM treats them independently.

* * *

## 🧪 TL;DR – Segmenting Tips

| Goal | Do this |
| --- | --- |
| ✅ Merge into one string | Use a block tag with a mix of plain text and inline HTML |
| ✂ Split into multiple strings | Use only inline elements, or let Angular/React control content |

* * *

Give it a try on your site! Want help debugging your segmentation or sharing cool examples with the community? Drop them in the comments below 👇
