# XLIFF 2.0

#### Versionadded
Added in version 5.15.

#### Versionchanged
Changed in version 2026.9.

#### NOTE
Tá tacaíocht don fhormáid seo á forbairt. Seans nach mbeidh roinnt gnéithe ar fáil go fóill agus is féidir leis an iompar athrú idir eisiúintí. Tá fáilte roimh aiseolas ón tástáil.

#### NOTE
Is formáid dhifriúil í [XLIFF 1.1 agus 1.2](https://docs.weblate.org/ga/weblate-2026.10.1/formats/xliff.md) agus níl sí comhoiriúnach le XLIFF 2.0.

Cruthaíodh formáid XML-bhunaithe chun comhaid aistriúcháin a chaighdeánú, ach sa deireadh tá sé ar cheann de na [caighdeáin go leor](https://xkcd.com/927/), sa réimse seo.

Ní thacaítear le XML Localization Interchange File Format (XLIFF) 2.0 ach amháin i bhfoirm dhátheangach faoi láthair.

Weblate supports XLIFF 2.0 as a single file format. Placeables handling is
controlled by the `xliff_placeables` [Paraiméadair formáid comhaid](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#file-format-params):

* Plain text — escape XML elements in the content (the historical
  default for existing XLIFF 2.0 components).
* Placeables — preserve placeables and other XML elements (the
  default for new components). Tags then appear as placeholders in the editor.

#### SEE ALSO
* Sonraíocht [Formáid Comhad Malartaithe Logánaithe XML (XLIFF) 2.0](https://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html)
* [XLIFF ar Vicipéid](https://en.wikipedia.org/wiki/XLIFF)
* [XLIFF](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/xliff.html)
* [Paraiméadair formáid comhaid](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#file-format-params)

## Comhaid shamplacha

Comhad XLIFF mar shampla:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="cs">
  <file id="translation">
    <unit id="hello">
      <segment>
        <source xml:space="preserve">Hello, world!
</source>
        <target xml:space="preserve">Ahoj světe!
</target>
      </segment>
    </unit>
    <unit id="orangutan">
      <segment>
        <source xml:space="preserve">Orangutan has %d banana.
</source>
      </segment>
    </unit>
    <unit id="weblate">
      <segment>
        <source xml:space="preserve">Try Weblate at &lt;https://demo.weblate.org/&gt;!
</source>
      </segment>
    </unit>
    <unit id="thanks">
      <segment>
        <source>Thank you for using Weblate.</source>
      </segment>
    </unit>
  </file>
</xliff>
```

<!-- AUTOGENERATED START: format-features xliff2 -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### Gnéithe tacaithe

| Síneadh comhaid                                                                                                 | `.xlf`, `.xliff`                           |
|-----------------------------------------------------------------------------------------------------------------|--------------------------------------------|
| Teangachas [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#bimono)                                              | Dátheangach                                |
| Tacaíonn sé le hiolra [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-plurals)                           | `Yes`                                      |
| Tacaíonn sé le tuairiscí [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-description)                    | `Yes`                                      |
| Tacaíonn sé le míniú [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-explanation)                        | `No`                                       |
| Tacaíonn sé le comhthéacs [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-context)                       | `Yes`                                      |
| Tacaíonn suíomh [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-location)                                | `Yes`                                      |
| Tacaíonn sé le bratacha [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-flags)                           | `Yes`                                      |
| Stáit bhreise [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#format-states)                                    | `Ceadaithe`, `Riachtanach eagarthóireacht` |
| Aitheantóir API                                                                                                 | `xliff2`                                   |
| Tacaíonn sé le teaghráin léite amháin [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#read-only-strings)        | `Yes`                                      |
| Tacaíonn sé le teaghráin atá as dáta a bhaint [ⓘ](https://docs.weblate.org/ga/weblate-2026.10.1/formats.md#obsolete-strings) | `No`                                       |
<!-- AUTOGENERATED END: format-features xliff2 -->

## Cumraíocht Weblate

|                                        | Gnáthchlár Gréasáin [Cumraíocht na Comhpháirte](https://docs.weblate.org/ga/weblate-2026.10.1/admin/projects.md#component)   |
|----------------------------------------|----------------------------------------------------------------------------------------------------------|
| Masc comhaid                           | `localizations/*.xliff`                                                                                  |
| Comhad aonteangach bunteanga           | Folamh                                                                                                   |
| Teimpléad le haghaidh aistriúcháin nua | `localizations/en-US.xliff`                                                                              |
| Formáid comhaid                        | Comhad Aistriúcháin XLIFF 2.0                                                                            |
