<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>XLIFF — Translate Toolkit 1.9.0 documentation</title> <link rel="stylesheet" href="../_static/basic.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <link rel="stylesheet" href="../_static/bootstrap.css" type="text/css" /> <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '1.9.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/bootstrap.js"></script> <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script> <link rel="top" title="Translate Toolkit 1.9.0 documentation" href="../index.html" /> <link rel="up" title="Translation Related File Formats" href="index.html" /> <link rel="next" title="PO Files" href="po.html" /> <link rel="prev" title="Translation Related File Formats" href="index.html" /> </head> <body> <div id="navbar" class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container-fluid"> <a class="brand" href="../index.html">Translate Toolkit</a> <span class="navbar-text pull-left"><b>1.9.0</b></span> <ul class="nav"> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Site <b class="caret"></b></a> <ul class="dropdown-menu globaltoc"><ul class="simple"> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../features.html">Features</a></li> <li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li> <li class="toctree-l1"><a class="reference internal" href="../commands/index.html">Converters</a></li> <li class="toctree-l1"><a class="reference internal" href="../commands/index.html#tools">Tools</a></li> <li class="toctree-l1"><a class="reference internal" href="../commands/index.html#scripts">Scripts</a></li> <li class="toctree-l1"><a class="reference internal" href="../guides/index.html">Use Cases</a></li> <li class="toctree-l1"><a class="reference internal" href="index.html">Supported formats</a></li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../styleguide.html">Translate Styleguide</a></li> <li class="toctree-l1"><a class="reference internal" href="../styleguide.html#documentation">Documentation</a></li> <li class="toctree-l1"><a class="reference internal" href="../development/building.html">Building</a></li> <li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li> <li class="toctree-l1"><a class="reference internal" href="../development/developers.html">Translate Toolkit Developers Guide</a></li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../api/index.html">API</a></li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Important Changes</a></li> <li class="toctree-l1"><a class="reference internal" href="../history.html">History of the Translate Toolkit</a></li> <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li> </ul> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Page <b class="caret"></b></a> <ul class="dropdown-menu localtoc"><ul> <li><a class="reference internal" href="#">XLIFF</a><ul> <li><a class="reference internal" href="#flavours">Flavours</a></li> <li><a class="reference internal" href="#standard-conformance">Standard conformance</a><ul> <li><a class="reference internal" href="#done">Done</a></li> </ul> </li> <li><a class="reference internal" href="#xliff-and-other-tools">XLIFF and other tools</a></li> </ul> </li> </ul> </ul> </li> <li><a href="index.html" title="previous chapter">« Translation Related File Formats</a></li> <li><a href="po.html" title="next chapter">PO Files »</a></li> </ul> <form class="navbar-search pull-right" action="../search.html" method="get"> <input type="text" name="q" placeholder="Search" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </ul> </div> </div> </div> </div> <div class="container content"> <div class="section" id="xliff"> <span id="id1"></span><h1>XLIFF<a class="headerlink" href="#xliff" title="Permalink to this headline">¶</a></h1> <p>XLIFF is the OASIS standard for translation. See <a class="reference external" href="http://www.oasis-open.org/committees/xliff/documents/xliff-specification.htm">http://www.oasis-open.org/committees/xliff/documents/xliff-specification.htm</a>.</p> <div class="section" id="flavours"> <span id="xliff-flavours"></span><h2>Flavours<a class="headerlink" href="#flavours" title="Permalink to this headline">¶</a></h2> <p>XLIFF also has documents that specify the conversion from various standard source documents and localisation formats.</p> <ul class="simple"> <li>PO – For conformance to the po2xliff spec, see <a class="reference internal" href="../commands/xliff2po.html"><em>xliff2po</em></a>.<ul> <li>Draft <a class="reference external" href="http://docs.oasis-open.org/xliff/v1.2/xliff-profile-po/xliff-profile-po-1.2.html">XLIFF 1.2 Representation Guide for Gettext PO</a></li> </ul> </li> <li>HTML – not implemented<ul> <li>Draft <a class="reference external" href="http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html">XLIFF 1.2 Representation Guide for HTML</a></li> </ul> </li> <li>Java (includes .properties and Java resource bundles) – not implemented<ul> <li>Draft <a class="reference external" href="http://docs.oasis-open.org/xliff/v1.2/xliff-profile-java/xliff-profile-java-v1.2.html">XLIFF 1.2 Representation Guide for Java Resource Bundles</a></li> </ul> </li> <li>ICU Resource Bundles – not officially being developed by XLIFF – Proposed <a class="reference external" href="http://www.icu-project.org/repos/icu/icuhtml/trunk/design/locale/xliff-profile-icuresourcebundle-1.2.htm">representation guide</a></li> </ul> </div> <div class="section" id="standard-conformance"> <span id="xliff-standard-conformance"></span><h2>Standard conformance<a class="headerlink" href="#standard-conformance" title="Permalink to this headline">¶</a></h2> <div class="section" id="done"> <span id="xliff-done"></span><h3>Done<a class="headerlink" href="#done" title="Permalink to this headline">¶</a></h3> <ul> <li><p class="first">File creation and parsing</p> </li> <li><p class="first">API can create multiple files in one XLIFF (some tools only read the first file)</p> </li> <li><p class="first">source-language attribute</p> </li> <li><dl class="first docutils"> <dt>trans-unit with</dt> <dd><ul class="first last"> <li><p class="first">note: addnote() and getnotes()</p> </li> <li><dl class="first docutils"> <dt>state</dt> <dd><ul class="first last simple"> <li>fuzzy: isfuzzy() and markfuzzy()</li> <li>translated: marktranslated()</li> <li>approved</li> <li>needs-review-transaltion: isreview(), markreviewneeded()</li> </ul> </dd> </dl> </li> <li><p class="first">id: setid()</p> </li> <li><p class="first">context-group: createcontextgroup()</p> </li> </ul> </dd> </dl> </li> <li><p class="first">context groups</p> </li> <li><p class="first">alt-trans</p> </li> </ul> </div> </div> <div class="section" id="xliff-and-other-tools"> <span id="xliff-xliff-and-other-tools"></span><h2>XLIFF and other tools<a class="headerlink" href="#xliff-and-other-tools" title="Permalink to this headline">¶</a></h2> <p>Here is a small report on the <tt class="xref doc docutils literal"><span class="pre">guide/tools/xliff</span> <span class="pre">support</span> <span class="pre">by</span> <span class="pre">ms</span> <span class="pre">windows</span> <span class="pre">programs</span></tt>.</p> </div> </div> </div> <hr> <footer class="footer"> <div class="container"> <p class="pull-right"><a href="#">Back to top ↑</a></p> <ul class="unstyled muted"> <li><small> © 2012, Translate.org.za.<br/> </small></li> <li><small> Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </small></li> </ul> </div> </footer> </body> </html>