W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Re: Translation control in HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 2 Dec 2008 12:00:02 +0000 (UTC)
To: public-html@w3.org
Cc: www-international@w3.org
Message-ID: <Pine.LNX.4.62.0812021135440.17414@hixie.dreamhostps.com>


(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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:27 GMT