[Bug 13417] i18n-ISSUE-139: Multilingual q nesting

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

Martin Dürst <duerst@it.aoyama.ac.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duerst@it.aoyama.ac.jp

--- Comment #3 from Martin Dürst <duerst@it.aoyama.ac.jp> 2011-07-29 05:48:13 UTC ---
(In reply to comment #0)

[I agree that this has to go to CSS, but just a short comment while it's here.]

> 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. 

That won't work always, because there may be other languages where "" is the
quote convention on the top level, as for English, and you'd still end up with
text where you don't really see what starts where and what ends where.

> 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.

I guess you can always write some rule like

:lang(en) > :lang(no) > * ...

or maybe even something more generic. You don't need classes or HTML attributes
for that. It won't work out of the box in a browser, but it's easy to put that
in your own stylesheet unless you have hundreds of combinations of languages.

Regards,    Martin.

-- 
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 Friday, 29 July 2011 05:48:15 UTC