ISSUE-139: Multilingual q nesting

Multilingual q nesting

State:
CLOSED
Product:
html
Raised by:
Richard Ishida
Opened on:
2011-07-28
Description:
4.6.7 The q element
http://www.w3.org/TR/html5/text-level-semantics.html#the-q-element

Not discussed in the i18n WG yet, but tracked by i18n tracker.


[I'm putting this here as a placeholder, since we're near to the end of last call, and i need more time to consider but will be away on vacation.]

I'm wondering whether we need a way to reset the embedding levels of quotes. This may involve markup, rather than just CSS (that's what I need to think more about).

Here's the reason:

If you have the following CSS:

:lang(en) > * { quotes: '"' '"' "'" "'"; }
:lang(no) > * { quotes: "«" "»" '"' '"' }

And you have

<p lang=no>Some Norwegian text <q>more norwegian <q>more norwegian</q></q>.</p>

You'd expect to see

Some Norwegian text «more norwegian "more norwegian"».

which perfectly fine.

But if you had

<p lang=en>Some English text <q lang=no>Some norwegian <q>more norwegian</q></q>.</p>

Then I think you'd see

Some English text "Some norwegian "more norwegian"".

I'd have thought that the quotes surrounding the text 'more norwegian' here should be surrounded by «...». This could maybe be done by a rule that says that if a q element carries a lang attribute, the next embedded q attribute should use the highest level quote marks. Or perhaps it needs some attribute to reset the levels?

In addition, maybe that would also give you more control over how the quotes are used in other situations (such as to replicate the original text) - although perhaps that's best achieved using special class names or just by avoiding q altogether.
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (Part IV) (from addison@lab126.com on 2015-03-31)
  2. RE: [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-22)
  3. Re: [I18N-ACTION-150] Review of HTML open issues (from ishida@w3.org on 2014-02-21)
  4. [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-18)
  5. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-08-12)
  6. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-08-04)
  7. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-07-29)
  8. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-07-28)
  9. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-07-28)
  10. [Bug 13417] i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-07-28)
  11. [Bug 13417] New: i18n-ISSUE-139: Multilingual q nesting (from bugzilla@jessica.w3.org on 2011-07-28)

Related notes:

moved to https://github.com/w3c/i18n-activity/issues/32

Richard Ishida, 18 Apr 2016, 16:49:52

Display change log ATOM feed


Addison Phillips <addisonI18N@gmail.com>, Chair, Richard Ishida <ishida@w3.org>, Bert Bos <bert@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 139.html,v 1.1 2023/07/19 12:01:59 carcone Exp $