[xliff-tools] The <file> element

Rodolfo M. Raya rodolfo at heartsome.net
Wed Feb 16 08:31:08 PST 2005


On Wed, 2005-02-16 at 15:59 +0100, Bruno Haible wrote:


> But is is possible to use <group> tags to group messages from a single
> source file together:
> 
>     <group id="67423423">
>       <context context-type="sourcefile">foobar.c</context>
>       ... Here come the <trans-unit>s from foobar.c ...
> 
> It is also possible to modify xgettext to add the C function name to
> the context. This would lead to
> 
>     <group id="67423423">
>       <context context-type="sourcefile">foobar.c</context>
>       <group id="copy_file">
>         ... Here come the <trans-unit>s from function copy_file() ...
> 
> The question is: Would this lead to more translator comfort, or are XLIFF
> editors made in such a way that unnecessary <group> tags are cumbersome?


Hi Bruno,

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.

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.

Regards,
Rodolfo
-- 
Rodolfo M. Raya <rodolfo at heartsome.net>
Heartsome Holdings Pte. Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xliff-tools/attachments/20050216/60067d0f/attachment.htm


More information about the xliff-tools mailing list