W3C home > Mailing lists > Public > public-i18n-its-ig@w3.org > July 2008

Re: ITS to XLIFF conversion and roundtripping

From: Felix Sasaki <fsasaki@w3.org>
Date: Fri, 04 Jul 2008 13:19:27 +0900
Message-ID: <486DA4CF.2070909@w3.org>
To: Yves Savourel <yves@opentag.com>
CC: public-i18n-its-ig@w3.org

Hi Yves,

many thanks for looking.

Yves Savourel さんは書きました:
> Hi Felix,
>
>   
>> I have worked on ITS to XLIFF conversion and roundtripping, see
>> http://www.w3.org/International/its/wiki/ITS_Translate_Decorator#XLIFF_generation_and_roundtripping
>> There is still a lot to do, but this might be enough so that 
>> people can play with it. I'm looking forward esp. towards feedback 
>> about the XLIFF format.
>>     
>
> A few notes, just looking at the example current XLIFF document generated.
> (I'm guessing some of the issues are just because it's a prototype, but I'll mentionned them just in case):
>
> 1) I see:
>
> <xl:pbt id="d1e13_start2"><code itd:id="d1e13" itsTve="no"></xl:pbt>
> <xl:ph id="d1e13_notrans_content2">un-translatable code 2</xl:ph>
> <xl:pbt id="d1e13_end2"></code></xl:pbt>
>
> Shouldn't more like ethis:
>
> <xl:bpt id="d1e132"><code itd:id="d1e13" itsTve="no"></xl:bpt>
> <xl:ph id="d1e13_notrans_content2">un-translatable code 2</xl:ph>
> <xl:ept id="d1e13"></code></xl:ept>
>
> (bpt=begin-paired-tag, ept=end-paired-tag)
>   

thanks, fixed.

>  
>
> 2) I see:
>
> <xl:ph id="d1e19_notrans_content1">
> un-translatable 
> <xl:pbt id="d1e21_start1"><code itd:id="d1e21" itsTve="no"></xl:pbt>
> <xl:ph id="d1e21_notrans_content1">code 3</xl:ph>
> <xl:pbt id="d1e21_end1"></code></xl:pbt>
> </xl:ph>
>
> I've never seen a <ph> element to include any other element (except a <sub> with text in it). From the specification
> (http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#ph) and the schema I don't think it's valid to have the other XLIFF tags
> within the <ph>.
>   

Thanks, fixed.

Felix
Received on Friday, 4 July 2008 04:20:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:00 GMT