Re: ISSUE-118: HTML ITS default behaviour - starting point, ACTION-452

Hi Yves, all,

thanks for starting this. One question wrt to the "Translate" defaults, 
again to all implementers: aren't these specific to the type of 
application consuming the file? E.g. in the usage scenarios
http://www.w3.org/International/multilingualweb/lt/wiki/Use_cases_-_high_level_summary#Simple_Machine_Translation
and
http://www.w3.org/International/multilingualweb/lt/wiki/Use_cases_-_high_level_summary#Translation_Package_Creation
do you assume the same defaults for "title, abbr, prompt, standby, 
summary, alt are translatable "?

Best,

Felix

Am 27.02.13 14:49, schrieb Yves Savourel:
> Hi everyone,
>
> Attached and copied below is the set of global rules corresponding to what we think would be a start for the defaults.
> This is likely not covering all that needs to be covered.
> And obviously some of these are likely controversial.
>
> The wiki page for listing the defaults is here:
> http://www.w3.org/International/multilingualweb/lt/wiki/HTML5_Defaults
>
> cheers,
> -yves
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
>   xmlns:h="http://www.w3.org/1999/xhtml">
>   
>   <!-- Inline elements -->
>   <its:withinTextRule withinText="yes"
>    selector="//h:abbr | //h:acronym | //h:br | //h:cite | //h:code | //h:dfn
>    | //h:kbd | //h:q | //h:samp | //h:span | //h:strong | //h:var | //h:b | //h:em
>    | //h:big | //h:hr | //h:i | //h:small | //h:sub | //h:sup | //h:tt | //h:del
>    | //h:ins | //h:bdo | //h:img | //h:a | //h:font | //h:center | //h:s | //h:strike
>    | //h:u | //h:isindex" />
>    
>   <!-- Non-translatable elements -->
>   <its:translateRule selector="//h:script|//h:style" translate="no"/>
>   
>   <its:translateRule selector="//h:del" translate="no"/>
>   <its:translateRule selector="//h:del/descendant-or-self::*/@*" translate="no"/>
>   
>   <!-- Translatable attribute -->
>   <its:translateRule selector="//h:*/@abbr|//h:*/@alt|//h:*/@prompt|//h:*/@standby|//h:*/@summary|//h:*/@title" translate="yes"/>
>   
>   <its:translateRule selector="//h:meta[@name='keywords']/@content" translate="yes"/>
>   <its:translateRule selector="//h:meta[@name='description']/@content" translate="yes"/>
>   
>   <!-- Attributes for the input element -->
>   <its:translateRule selector="//h:input/@value" translate="yes"/>
>   <its:translateRule selector="//h:input[@type='hidden']/@value" translate="no"/>
>   
>   <!-- Bidirectional information. Note: No direct support for 'auto' value -->
>   <its:dirRule selector="//h:*[@dir='ltr']" dir="ltr"/>
>   <its:dirRule selector="//h:*[@dir='rtl']" dir="rtl"/>
>   <its:dirRule selector="//h:bdo[@dir='ltr']" dir="lro"/>
>   <its:dirRule selector="//h:bdo[@dir='rtl']" dir="rlo"/>
>
>   <!-- Note: dfn and dt don't match exactly the Terminology data category -->
>    
>   <!-- Id Value -->
>   <its:idValueRule selector="//h:*[@id]" idValue="@id"/>
>   
>   <!-- Note: Preserve space is not handled by ITS -->
>   
>   <!-- Domain -->
>   <its:domainRule selector="/h:html"
>    domainPointer="/h:html/h:head/h:meta[@name='dcterms.subject' or @name='keywords']/@content"/>
>
> </its:rules>
>

Received on Wednesday, 27 February 2013 14:14:15 UTC