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] Advice on HTML anchor tag in XLIFF (RE: XLIFF Spec Question)

Hi Richard,


IMHO, using <sub> is a bad idea. You will probably have problems with the translation tools used to edit your file.


For an anchor element like:


<a href="”www.niceweb.com”" alt=”nice site!”> New web site</a>


I would generate something like:


<ph id=”1”> &lt;a href="”www.niceweb.com”" alt=”</ph>nice site!<ph id=”2”>”&gt;</ph> New web site<ph id=”3”>&lt;/a&gt;</ph>


Hope this helps,



Rodolfo M. Raya   <rmraya@maxprograms.com>

Maxprograms      http://www.maxprograms.com


From: Schnabel, Bryan S [mailto:bryan.s.schnabel@tektronix.com]
Sent: Monday, March 14, 2011 6:55 PM
To: Richard Sloggett
Cc: xliff@lists.oasis-open.org
Subject: [xliff] Advice on HTML anchor tag in XLIFF (RE: XLIFF Spec Question)


Hi Richard,


I will forward this to the XLIFF TC to make them aware of your question. Another resource you might think about for this and similar problems is the XLIFF users' list. Instructions for how to access the list are here: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xliff#feedback


Meanwhile I will see pass any guidance from the TC to you.







From: Richard Sloggett [mailto:Richard.Sloggett@innovasys.com]
Sent: Friday, March 04, 2011 11:53 AM
To: Schnabel, Bryan S
Subject: XLIFF Spec Question




Sorry to bother you (got your email from the XLIFF pages), but I wonder if you could point me in the direction of someone who could answer a clarification question on the XLIFF spec (1.2) for me. We’ve implemented support for XLIFF in our help authoring tool but we are a little unclear about how to handle Html anchor tags – we’re currently generating something like this:


<ph id=”idvalue” ctype="x-html-a" xhtml:href=""http://www.innovasys.com/ " xhtml:target="_blank">Anchor Caption<sub ctype="x-a-title">Anchor Title</sub></ph>


.. but we’re unsure if we can mix text for translation (“Anchor Caption”) with the <sub> tag for the title. The text appears to be ok in a <g>, but the spec advises to use a <ph> for tags with translatable attributes.


I’d be really grateful if you could help this email along to someone who might be able to advise.


Richard Sloggett




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