W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Re: i18n-ISSUE-362: [css-counter-styles] In the document language

From: Richard Ishida <ishida@w3.org>
Date: Fri, 25 Sep 2015 07:00:14 +0100
To: Martin J. Dürst <duerst@it.aoyama.ac.jp>, W3C Style <www-style@w3.org>, www International <www-international@w3.org>
Message-ID: <5604E2EE.8030000@w3.org>
On 25/09/2015 02:37, Martin J. Dürst wrote:
> A simple example of what I mean:
> <ol lang='en'>
>    <li>First</li>
>    <li lang='fr'>Second</li>
>    <li>Third</li>
> </ol>
> If this is rendered as:
> 1. First
> 2. Second
> 3. Third
> and the numbers are spoken as numbers, then I'd expect this to be read:
> 'one' First
> 'deux' Second
> 'three' Third
> and not:
> 'one' First
> 'deux' Second
> 'trois' Third
> which would be what "the language most recently declared" would imply.


i think the language of the numbering should be that of the linguistic 
context of the list as a whole, and not determined by the content of the 
list item.

In many cases that will quite possibly be the language of the document, 
but in the case of, say, a bilingual document in Quebec with parallel 
content in both english and french, or a forum with multilingual 
responses that are language tagged, etc. then the list's linguistic 
context may be determined by language information at the sub-document level.

I can't see a justification for the content of the list item to 
influence the pronunciation of the bullet, and i think it would be 
confusing to readers to change the language of the numbering.

> Another question: Are there languages where we need to be able to
> distinguish between reading numbers as ordinals and as cardinals? Or
> languages where there are other distinctions between numbers that may
> have to be made?

I suspect that there are some languages where ordinals are used rather 
than cardinals, but i expect that in that case the audio generated by 
the implementation would just take that into account naturally, no?

Received on Friday, 25 September 2015 06:00:24 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:53 UTC