Re: For review: 1 new and 3 updated articles about language declarations in HTML

On 22/08/2011 02:27, Leif Halvard Silli wrote:
> Gunnar Bittersmann, Mon, 22 Aug 2011 00:40:04 +0200:
>>> 2 Why use the language attribute?
>>> http://www.w3.org/International/tutorials/new-language-decl/qa-lang-why
>
>> [[
>> :lang(en)>  * { quotes: '"' '"' "'" "'"; }
>> :lang(en)>  * { quotes: '„' '“' '‚' '‘'; }
>> ]]
>>
>> The second line should read :lang(de)>  *
>
> Is the '>  *' necessary? Why not rather do the following, if it is about
> the q element?:
>
> q:lang(en) { quotes: '“' '”' '‘' '’'; }
> q:lang(de) { quotes: '„' '“' '‚' '‘'; }

The shape of the quotation marks depends on the language surrounding the 
quotation, not on the language of the quotation itself.

RI


-- 
Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/


Register for the W3C MultilingualWeb Workshop!
Limerick, 21-22 September 2011
http://multilingualweb.eu/register

Received on Monday, 22 August 2011 06:57:23 UTC