OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [xliff] Fwd: Updated XLIFF 1.1 Representation Guide for Gettext PO


The profile looks great. It definitely shows a lot of good work. I'm very
pleased with the quality of the profile. I'm not experienced in PO files,
but have a couple comments regarding use of the XLIFF <ph> tags.

Section 3.4 Handling of Escape Sequences in Software Messages

Escape sequences for common control character like newline ('\n') are
represented in XLIFF using the <ph> element, as in <ph id='1'

This approach closely couples the translation of the human language with the
computer language used to render it. I believe a more abstract
representation would allow better separation between human and computer
language. For example,

<x id='1' ctype='lb' />

Then the translation is applicable to any computer language that can render
a line break, whether it uses '\n', or other notation.

Section 5.6.3 X-format

Similarly, the "%s" and "%d" notations are kept in the XLIFF <ph> tag as <ph
id="1" ctype="x-c-param">%s</ph>, where the ctype attribute value specifies
the computer language of the notation (as listed in Table 4).

For example,

<x id="1" ctype="x-string-param" />

Here I realize that the format may be more complex. For example, an ANSI C
format may be "%+03.2ld". In this case, it seems appropriate to keep the
format within <ph> tags. It wouldn't be required because the format could be
stored in the skeleton file. However, for convenience, keeping it in the
<ph> is reasonable.

Your comments and comments from the rest of the XLIFF committee are welcome.

Doug Domeny

-----Original Message-----
From: Paul Gampe [mailto:pgampe@redhat.com] 
Sent: Sunday, July 10, 2005 1:27 PM
To: xliff@lists.oasis-open.org
Subject: [xliff] Fwd: Updated XLIFF 1.1 Representation Guide for Gettext PO

Apologies for the delay in passing this forward.  I would like to proceed to

issue the ballot to approve this submission this week.

Kind regards,

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]