Open Standards & Translation 

Resources for Translation Agencies, Localization Departments, and Translators

XLIFF to HTML 

How to Use 

This is an XSLT file. You can use it in several ways:

1. From the Heartsome XLIFF editor, select "XML Transformation" from the Advanced menu, then browse to this file; it will open the resulting HTML file in your browser.

2. If you have a command line xslt processor installed on your system, you can use it (example is for Mac OS X): 

xsltproc xliff2html myxliff.xlf > htmlpreview.html

3. If you have a text editor, you can let your xsl-enabled browser do the work for you.  Using a text editor, add the following line to your xliff file, directly after the <?xml...> line at the top:

<?xml-stylesheet type="text/xsl" href="xliff2html.xsl"?>

The above example assumes the xliff and the xsl file are in the same directory. Once that's set, all you have to do is open the xliff directly in your browser!

Turns an XLIFF into an HTML file that can be viewed with any browser.  Displays the source text, target text, approval status, translation status, and the translator/reviewer notes in an easy-to-read format. 

Translation status is represented by color-coding. Red shades mean the segment needs translation/localization, yellow shades mean "need review", and blue shades mean the segment is done, or very nearly so. Within each color group, the lighter the color gets, the less work remains in that task group.

Copyright 2006 Micah Bly