The Main Aspects of XLIFF Standard

July 18, 2018

There are several standards in the localization industry that make it possible to exchange localizable data between different tools, which are different than proprietary formats.


XLIFF stands for XML Localization Interchange File Format. It's a standard that specifies the way localizable data is passed between platforms and tools. This standard was approved by OASIS (Organization for the Advancement of Structured Information Standards) in 2002. The current version is 2.1 (released on 02/13/2018), which is backwards compatible with version 2.0 (released on 08/05/2014). You can also find some tools that still support the legacy format from version 1.2.

Version 1.2


Let's take a quick look at version 1.2 of XLIFF. A document that follows XLIFF 1.2 is composed of one or more file tags. Each file tag corresponds to an original file or source (e.g. database table). Inside of a file tag you will find a header tag that may contain some metadata, like the file name, field names, etc. If you check the following example, it has an internal file tag that represents the actual file. It can also contain an external file tag that has information related to an external file referenced in the XLIFF (e.g. the location). Also, you'll find a body tag that may contain one or more translation units (trans-unit tags). Each trans-unit tag has a source and a target tag, each one containing the source language and target language content, respectively.



Version 2.0


Even though XLIFF version 1.2 has been used successfully in many scenarios, version 2.0 introduced some improvements. Let's look at the following example of XLIFF 2.0 and then compare it with version 1.2.




If you check the example above, the source and target languages are specified in the XLIFF tag level. That means that every file tag in a XLIFF document from version 2.0 will be in the same language pair. In version 1.2 this is different because the language pairs are specified at the file tag level. This simplifies the processing and makes it easier to split the content, compared with the possibility of having files with different language pairs in the same document.


Also, the structure is simpler compared with a document from version 1.2.


Another benefit from version 2.0 is that it's clearer and specifies more constraints and processing requirements. Version 1.2 had ambiguities and lacked constraints and processing requirements.


XLIFF 2.0 also adds the concept of modules. There are different types of modules that add additional features. For example, there is a Change Tracking Module that stores revision information for XLIFF elements and attributes. There is also a Validation Module that defines specific validation rules that can be applied to the target language content. Lastly, there is a Glossary Module that lets you embed glossaries into the XLIFF.


These are just some differences between the standards. You can check version 2.0 more in-depth in the official specification.

Version 2.1


2.1 is the current version of the standard. Besides a major bugfix for the Change Tracking Module, it adds a new ITS Module. It also brings Advanced Validation capabilities. Documents that follow this specification can be fully validated with standardized validation artifacts, without the need for custom validation codes. For further details, you can check the official specification.



In this blog, I mentioned the main aspects of the XLIFF standard and some differences between each main version, but keep in mind that there are others that are also important, including:


  • TMX (Translation Memory eXchange), which is designed to support the exchange of translation memories between computer-based localization tools.
  • TBX (TermBase eXchange), which is used to share glossaries between computer-based localization tools.
  • SRX (Segmentation Rules eXchange), which describes the ways in which localization tools split the text in segments for processing.

Further GPI Resources on Website Development


Globalization Partners International (GPI) frequently assists customers with multilingual website design, development and deployment, and has developed a suite of globalization tools to help you achieve your multilingual website localization project goals. You can explore them under the Translation tools and Portals section of our website. You may also find some of the following articles and links useful:



For more information or help with your next website translation project, please do not hesitate to contact us via e-mail at, or by phone at (866) 272-5874, or by requesting a free web translation quote on your next website translation project.

Website Translation
XLIFF, XLIFF standard, website localization, localization, internationalization

Why You Should Use A Consistent Translation VendorHow to Use Social Media for Business: Germany


Currently, there are no comments. Be the first to post one!

Add a comment

Only comments with valid email addresses will be posted. Thanks!

Contact Us FREE Globalization eBooks Request Demo Request Quote

Juan Alejandro Fausd is a native Spanish speaker from La Paz, Entre Ríos, Argentina. He graduated from university with a degree in Information Systems Engineer. While a student, he was active in several open source interest groups and has conducted seminars on a range of topic including version control tools, object-relational mapping and coding. He has extensive experience with different technologies like C#, ASP.NET, JavaScript, PHP, Symfony2, NodeJS, Unity, WCF, SQL Server, MongoDB and Cassandra. When he is not working, he enjoys doing outdoor activities and spending time with family and friends. He also enjoys learning and reading about new technologies, mostly related to software development and software architecture.