W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 05 Apr 2011 08:47:14 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q71us-00028j-5R@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:07 UTC