ArticleslgStudy

computer science

XLIFF

XLIFF is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand XLIFF rather than just read about it. In short: XLIFF (XML Localization Interchange File Format) is an XML-based bitext format created to standardize the way localizable data are passed between and among tools during a localization process and a common format for CAT tool exchange. The XLIFF Technical Committee (TC) first convened at OASIS in December 2001 (first meeting in January 2002), but the first fully ratified version of XLIFF appeared as XLIFF Version 1.2…

Key takeaways

  • XLIFF belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect XLIFF to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of XLIFF from memory before moving on to harder problems.

Reference excerpt

XLIFF (XML Localization Interchange File Format) is an XML-based bitext format created to standardize the way localizable data are passed between and among tools during a localization process and a common format for CAT tool exchange. The XLIFF Technical Committee (TC) first convened at OASIS in December 2001 (first meeting in January 2002), but the first fully ratified version of XLIFF appeared as XLIFF Version 1.2 in February 2008. Its current specification is v2.2 released on 2025-03-13, which is backwards compatible with v2.1 released on 2018-02-13. The specification is aimed at the localization industry. It specifies elements and attributes to store content extracted from various original file formats and its corresponding translation. The goal was to abstract the localization skills from the engineering skills related to specific formats such as HTML. XLIFF is part of the Open Architecture for XML Authoring and Localization (OAXAL) reference architecture.

XLIFF 2.0 and higher (the current OASIS ratified format) The XLIFF Technical Committee (TC) has released XLIFF Version 2.2. Prior to making of the major new version 2.0, feedback was gathered from XLIFF's user community which was integrated into the following generation version of the standard. Two of the primary methods used included compiling a list of extensions used by XLIFF toolmakers, and compiling a list of XLIFF features supported by each XLIFF tool.

Makers of XLIFF tools have taken advantage of XLIFF's extensibility mechanism in order to implement a number of features. By collecting a list of these extension points and analyzing them for common tasks, the XLIFF TC hopes to improve the XLIFF 2.0 Specification to include mechanisms that will enable the toolmakers to support these features without using extensibility. Makers of XLIFF tools have supported different sets of features in the XLIFF 1.2 Specification. By compiling a list of these features, the XLIFF TC hopes to identify areas where the XLIFF 2.0 Specification can be improved to enable toolmakers to more widely support the specification. On March 13, 2025 XLIFF 2.2 became an OASIS Specification. On July 2024, XLIFF 2.1 was approved as ISO 21720:2024. On February 13, 2018 XLIFF 2.1 specification became an OASIS Standard. In November, 2017 XLIFF 2.0 specification was approved as ISO 21720:2017. On August 6, 2014 the XLIFF 2.0 specification became an OASIS Standard. On May 6, 2014, the XLIFF 2.0 specification was moved to Candidate OASIS Standard. Example of an XLIFF 2.0 document:

XLIFF 1.2 - legacy format An XLIFF 1.2 document is composed of one or more <file> elements. Each <file> element corresponds to an original file or source (e.g. database table). A <file> contains the source of the localizable data and, once translated, the corresponding localized data for one, and only one, locale. Localizable data is stored in <trans-unit> elements. The <trans-unit> element holds a <source> element to store the source text, and a <target> element to store the latest translated text. The <target> elements are not mandatory.

The example below shows an XLIFF document storing text extracted from a Photoshop file (PSD file) and its translation to Japanese:

See also Internationalization Tag Set (ITS) Segmentation Rules eXchange (SRX) TermBase eXchange (TBX): an XML format for the exchange of terminology data, “an industry standard for terminology exchange” Translation Memory eXchange (TMX)

References

External links OASIS XLIFF TC Charter OASIS XLIFF Technical Committee Web site XLIFF mailing lists: TC List, Comments to TC List, Users List XLIFF Validation Service Multilingual App Toolkit (MAT) from Microsoft

Worked examples

Example 1 — a first encounter with XLIFF

Start with the simplest possible case. Write down what XLIFF claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to XLIFF before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about XLIFF ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of XLIFF

In research
XLIFF appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses XLIFF in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
XLIFF is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer file formats, Internationalization and localization, XML-based standards, so understanding it makes those chapters shorter.
In everyday life
Look for XLIFF outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “XLIFF” →

How to study XLIFF in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what XLIFF means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain XLIFF out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is XLIFF in simple terms?

XLIFF (XML Localization Interchange File Format) is an XML-based bitext format created to standardize the way localizable data are passed between and among tools during a localization process and a common format for CAT tool exchange. The XLIFF Technical Committee (TC) first convened at OASIS in De…

Why does XLIFF matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study XLIFF?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on XLIFF.

Tags

  • Computer file formats
  • Internationalization and localization
  • XML-based standards

Keep exploring