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

# Conflicts

> Why imported translation segments fail to match their source, and how to link or remove them.

A **conflict** is a translation segment GitLocalize could not match to a segment in the source file.
Conflicts are highlighted in red, and any file containing one is marked **Conflicting**.

![Conflicting segments in the editor](https://mintcdn.com/gitlocalize/lskpih6euvpzy4qL/images/conflicts.png?fit=max\&auto=format\&n=lskpih6euvpzy4qL\&q=85\&s=ccde498f14880e2e622ac16abab9da8d)

Conflicts arise on import. When a repository is [synced](https://docs.gitlocalize.com/syncing.md), GitLocalize parses existing
translation files alongside the source files and attempts to link each translation
[segment](https://docs.gitlocalize.com/how-it-works.md#segments) to the source segment it translates. Segments left unlinked become
conflicts.

## Why matching fails

| Cause | Example |
| - | - |
| Structure differs | The translation is outdated and has fewer, more, or reordered blocks than the source |
| Formatting differs | Same text, but different header levels, list types, or bold/italic markup |
| Notebook metadata differs | In Jupyter Notebooks, segment IDs or cell metadata don't match |

A conflict means the pairing is uncertain — not that the translation is wrong. Resolving one is a
matter of telling GitLocalize which source segment it belongs to, or removing it if it is obsolete.

## Resolving a conflict

**1. Select the conflicting segment**

Click a red segment in the translation pane.

**2. Press Link to a Segment**

The source pane becomes selectable.

**3. Choose the source segment**

Select the segment in the source pane that this translation corresponds to.

![Linking a conflicting segment to its source segment](https://mintcdn.com/gitlocalize/lskpih6euvpzy4qL/images/resolving-conflicts.gif?s=8854606f3c11f02901c60d3361928780)

Verify the translation is current before linking it — linking an outdated translation marks that
segment as done and hides it from everyone who might otherwise have fixed it. Obsolete segments
should be removed with **Delete this translation** instead.

A file becomes translatable again once every conflict in it has been linked or deleted.


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