<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
On Wed, 2005-02-16 at 15:59 +0100, Bruno Haible wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">But is is possible to use <group> tags to group messages from a single</FONT>
<FONT COLOR="#000000">source file together:</FONT>
<FONT COLOR="#000000"> <group id="67423423"></FONT>
<FONT COLOR="#000000"> <context context-type="sourcefile">foobar.c</context></FONT>
<FONT COLOR="#000000"> ... Here come the <trans-unit>s from foobar.c ...</FONT>
<FONT COLOR="#000000">It is also possible to modify xgettext to add the C function name to</FONT>
<FONT COLOR="#000000">the context. This would lead to</FONT>
<FONT COLOR="#000000"> <group id="67423423"></FONT>
<FONT COLOR="#000000"> <context context-type="sourcefile">foobar.c</context></FONT>
<FONT COLOR="#000000"> <group id="copy_file"></FONT>
<FONT COLOR="#000000"> ... Here come the <trans-unit>s from function copy_file() ...</FONT>
<FONT COLOR="#000000">The question is: Would this lead to more translator comfort, or are XLIFF</FONT>
<FONT COLOR="#000000">editors made in such a way that unnecessary <group> tags are cumbersome?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Hi Bruno,<BR>
<BR>
Heartsome's XLIFF Editor hides <group> information from the translator. These tags are not used when translating documentation and they are simple discarded when present in an XLIFF file.<BR>
<BR>
Similarly, when an XLIFF document contains multiple <file> elements, all the <trans-units> are extracted and translated without telling the translator that they come from different sections. For example, an OpenOffice Write (.swx) document contains 3 translatable XML files inside and the Heartsome's editor displays all segments without differentiating the origin.<BR>
<BR>
Regards,<BR>
Rodolfo<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Rodolfo M. Raya <<A HREF="mailto:rodolfo@heartsome.net">rodolfo@heartsome.net</A>><BR>
Heartsome Holdings Pte. Ltd.
</TD>
</TR>
</TABLE>
</BODY>
</HTML>