Translate Xliff files

What are XLIFF files?

XLIFF (XML Localization Interchange File Format) is an XML-based bitext language file format created to standardize the way localizable data are passed between tools during a localization process. It is a common format for localization tools.

Their file extension is .xlf, .xliff.

WebTranslateIt can help localize XLIFF documents. It supports XLIFF versions 1 and 2.

Xliff file example

<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
 srcLang="en-US" trgLang="ja-JP">
 <file id="f1" original="Graphic Example.psd">
  <skeleton href="Graphic Example.psd.skl"/>
  <unit id="1">
   <segment>
    <source>Quetzal</source>
    <target>Quetzal</target>
   </segment>
  </unit>
  <unit id="2">
   <segment>
    <source>An application to manipulate and process XLIFF documents</source>
    <target>XLIFF 文書を編集、または処理 するアプリケーションです。</target>
   </segment>
  </unit>
  <unit id="3">
   <segment>
    <source>XLIFF Data Manager</source>
    <target>XLIFF データ・マネージャ</target>
   </segment>
  </unit>
 </file>
</xliff>

Magic Comments

This file handler support the following magic comments:

  • Comments containing [MAXCHAR=xx] will set a max character limit to xx. Example: <note>[MAXCHAR=20]</note>
  • Comments containing [LABEL=xxxx] will assign the label to xxxx. Example: <note>[LABEL=new feature]</note>

How to Translate an XLIFF File?

It is easy to translate an XLIFF file with WebTranslateIt. In a project, upload your source XLIFF file in the File Manager and translate it on the Translation Interface.

The tools included in WebTranslateIt, such as Batch Operations, the Translation Memory or Machine Translation can help you translate that file automatically, faster and cost effectively.

More Information

Related File Formats

Related Platforms