Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><code>&lt;alt-trans&gt;</code> is not intended for having <code>&lt;target&gt;</code>s in more than one language in each trans-unit; it's rather intended for <a href="http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#alt-trans" rel="noreferrer">translation match</a> be it translation memory, machine translation matches, or simple an outdated target string which needs to be updated according to most recent changes in the source string. Having said that, in some cases <code>&lt;alt-trans&gt;</code> is perceived as a <a href="http://www.opentag.com/xliff.htm#WhyBilingual" rel="noreferrer">workaround</a> for translating what the industry calls "adaptive languages" (French for Canada is often adapted from French translation) without having separate files. As a localization practitioner who has to deal with Xliffs from various sources and presented in various schemas, I recommend to avoid this hack. It is more common and accepted to use the <code>&lt;file&gt;</code> tag to embed trans-units for multiple languages in one Xliff file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;xliff version="1.1" xml:lang='en'&gt; &lt;file source-language='en' target-language='de' datatype="plaintext" original="Sample.po"&gt; ... &lt;body&gt; &lt;trans-unit id="1" restype="button" resname="IDC_TITLE"&gt; &lt;source&gt;Title&lt;/source&gt; &lt;/trans-unit&gt; &lt;trans-unit id="2" restype="label" resname="IDC_STATIC"&gt; &lt;source&gt;&amp;amp;Path:&lt;/source&gt; &lt;/trans-unit&gt; ... &lt;/file&gt; &lt;file source-language='en' target-language='fr' datatype="plaintext" original="Sample.po"&gt; &lt;trans-unit id="1" restype="button" resname="IDC_TITLE"&gt; ... &lt;/body&gt; &lt;/file&gt; &lt;/xliff&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload