Re: Translation control in HTML5

(Trimmed cc's to avoid excessive cross-posting; re-added www-international 
on request.)

I read through all the feedback on this topic.

There doesn't seem to be a really common enough use case for adding a 
feature to the core language to handle it. However, I do agree that this 
is something that is an issue for some authors and implementors. I would 
recommend approaching the Microformats community and minting a class 
value, possibly reusing class="notranslate" [1], to handle this.

I would also recommend not translating the contents of <code>.

As has been noted, for more in-depth control, the ITS vocabulary is 
probably the better solution; indeed an ITS tranlation rule set [2] could 
be used to define the processing of a microformat formally. It may make 
sense to come up with a way to have external ITS files defining rules and 
link to them from HTML files using a <link rel=""> keyword; if this is 
desired, I would recommend writing up the semantics of such a keyword in a 
separate document, and then listing the keyword on the WHATWG 
RelExtensions wiki, so that it gets registered when we finalise the 
solution for rel value registration.

[1] http://googlewebmastercentral.blogspot.com/2008/10/helping-you-break-language-barrier.html
[2] http://www.w3.org/TR/2007/REC-its-20070403/#rules

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 2 December 2008 12:01:23 UTC