W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2011

[Bug 13398] New: i18n-ISSUE-80: Default rules for the quotes property

From: <bugzilla@jessica.w3.org>
Date: Wed, 27 Jul 2011 18:47:06 +0000
To: public-i18n-core@w3.org
Message-ID: <bug-13398-3493@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13398

           Summary: i18n-ISSUE-80: Default rules for the quotes property
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: public-i18n-core@w3.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


10.2.6 Punctuation and decorations
http://www.w3.org/TR/html5/text-level-semantics.html#the-q-element

On behalf of the i18n WG. 


"Rules setting the 'quotes' property appropriately for the locales and
languages understood by the user are expected to be present."

How are the 'locales and languages understood by the user' determined? Is this
related to the Accept-Language settings of the browser?

Assuming that the intent here is to provide a single default only per browser
installation, rather than to provide defaults for text in various languages, we
believe that this is incorrect. A quotation in a page or passage in German
should by default use German quotation marks, ie. the default should depend on
the language of the text.

By the way, using 'rules' like

q:lang(en) quotes { '"' '"' "'" "'"; }
q:lang(no) { quotes: "«" "»" '"' '"' }
etc.

in the default stylesheet would provide defaults for the language of the text,
and not according to the user's locale and language preferences.

Obviously, a browser would not be able to provide accurate defaults for all
possible languages, but we feel that they should provide for a good fist of the
more commonly used ones.  After that, perhaps they would then fall back to some
default, which could be decided by the browser but is likely to be that shown
above for the english case. 

Also, it should be made clear that rendering of the quotation marks should
depend on the language of the text surrounding the q element, not the language
of the text inside the q element.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.
Received on Wednesday, 27 July 2011 18:47:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 July 2011 18:47:14 GMT