[Bug 12417] HTML5 is missing attribute for specifying translatability of content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12417

--- Comment #4 from Jirka Kosek <jirka@kosek.cz> 2011-04-05 08:47:13 UTC ---
(In reply to comment #2)

> Google Translate supports `class="notranslate"`
> (http://translate.google.com/support/)

I don't think that abusing CSS class for this is something we should endorse. 

> Theoretically such effect could be achieved with `lang=zxx`, although this
> loses information about language text is in (which may be useful for screen
> readers).

Translatability is orthogonal to language. Language is important not only for
screen readers but also for hyphenation, spell-checking, proper bidi, ...

> Another solution could be something like `lang="en-notranslate"` (i.e. correct
> language code with some suffix indicating it should not be translated).

Again I don't think translatability has anything to do with language, so using
lang attribute for conveying such information looks like abuse to me. Also even
if new lang subtag is introduced syntax will be too cumbersome for average web
developer.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 5 April 2011 08:47:19 UTC