Skip to content

Instantly share code, notes, and snippets.

@maerzbow
Last active January 24, 2017 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maerzbow/126cafa91a74671dd818 to your computer and use it in GitHub Desktop.
Save maerzbow/126cafa91a74671dd818 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2"
xmlns="urn:oasis:names:tc:xliff:document:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-strict.xsd">
<file original="sample.properties"
source-language="en" target-language="de"
datatype="javapropertyresourcebundle">
<body>
<trans-unit id="1" resname="key1">
<source xml:lang="en">Box 12 is <ph id="1">{0,number}</ph> inches high.</source>
<target xml:lang="de">Box Zwölf ist <ph id="1">{0,number}</ph> Zoll hoch.</target>
</trans-unit>
<trans-unit id="2" resname="key2">
<source xml:lang="en">Box &quot;<ph id="1">{0}</ph>&quot; is blue.</source>
<target xml:lang="de">Box <ph id="1">{0,number}</ph> ist blau.</target>
</trans-unit>
<trans-unit id="3" resname="key3">
<source xml:lang="en">Boxes are built in three sizes: small, medium and large.</source>
<target xml:lang="de">Boxen werden in drei Größen gebaut: klein, mittel und groß.</target>
</trans-unit>
<group id="messages:2">
<trans-unit id="4" resname="key4" xml:space="preserve">
<source>Hello <ph id="1">username</ph></source>
<context-group name="sample properties" purpose="location">
<context context-type="sourcefile">XliffInfo.java</context>
<context context-type="linenumber">34</context>
</context-group>
</trans-unit>
</group>
</body>
</file>
</xliff>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment