Hi pootle community!


We are using a German authoring tool “Evolution” to build elearning content.
Now we will use the existent lessons made in German also in different
countries (Hungary, Slovenia, Czech Republic, …).

We decided to use Pootle for the translations. But in detail we got a
problem based on the used xml-structure of the input xliff-file. When we
import the file into Pootle the used substructures based on <g> Tags are
ignored and the text parts are mixed together to one single the text in the
<target> Tag.


Below you find a sample of a input file and a excerpt of the output file.


Thanks in advance for all suggestions to solve the problem!

Hans Felser



*Input to Pootle:*

<?xml version="1.0" encoding="utf-8"?>

<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xhtml="
http://www.w3.org/1999/xhtml"; version="1.2">

<file datatype="xml" source-language="de" target-language="si" date="
2009-05-22T08:58:49Z">

<header>

<skl>

<external-file crc="-1170290034" href="spar_p0001_
report_translation_20090522_085841.skl"/>

</skl>

</header>

<body>

<group resname="translate">

<trans-unit id="15" approved="yes">

<source>

<g ctype="x-html-p" id="48" xhtml:ALIGN="LEFT">

<g ctype="x-html-font" id="47" xhtml:FACE="Arial" xhtml:SIZE="14">

<g ctype="bold" id="46">Grafik:</g>

            </g>

</g>

<g ctype="x-html-font" id="54" xhtml:FACE="Arial" xhtml:SIZE="14">

            <g ctype="listitem" id="49">_2a: Hygienemotiv</g>

            <g ctype="listitem" id="50">_2b: Verkäufer/in hinter der Vitrine
</g>

            <g ctype="listitem" id="51">_2c: sauber geschichtete,
eingeräumte Vitrine</g>

</g>

</source>

<target>

<g ctype="x-html-p" id="48" xhtml:ALIGN="LEFT">

<g ctype="x-html-font" id="47" xhtml:FACE="Arial" xhtml:SIZE="14">

<g ctype="bold" id="46">Grafik:</g>

            </g>

</g>

<g ctype="x-html-font" id="54" xhtml:FACE="Arial" xhtml:SIZE="14">

            <g ctype="listitem" id="49">_2a: Hygienemotiv</g>

            <g ctype="listitem" id="50">_2b: Verkäufer/in hinter der Vitrine
</g>

            <g ctype="listitem" id="51">_2c: sauber geschichtete,
eingeräumte Vitrine</g>

</g>

</target>

</trans-unit>

</group>

</body>

</file>

</xliff>



*Target output from Pootle:*

*…*

<target>_2a: Hygienemotiv_2b: Verkäufer/in hinter der Vitrine_2c: sauber
geschichtete, eingeräumte Vitrine</target>

*…*
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to