W3C home > Mailing lists > Public > www-i18n-comments@w3.org > July 2004

RE: [Moderator Action] Comments on Authoring Techniques

From: Richard Ishida <ishida@w3.org>
Date: Fri, 9 Jul 2004 18:30:13 +0100
To: "'Patrick Benny'" <w3@chipple.org>, <www-i18n-comments@w3.org>
Message-Id: <20040709173013.6FBB34F05B@homer.w3.org>

Hello Patrick, 

Can't remember whether I responded to this note already. If not, apologies.
Thanks for sending the points in. See inline below...


============
Richard Ishida
W3C

contact info:
http://www.w3.org/People/Ishida/ 

W3C Internationalization:
http://www.w3.org/International/ 
 
 

> -----Original Message-----
> From: Patrick Benny [mailto:w3@chipple.org] 
> Sent: 11 May 2004 04:26
> To: www-i18n-comments@w3.org
> Subject: [Moderator Action] Comments on Authoring Techniques
> 
> 
> 
> Hi!,
> 
> Just a few comments on Authoring Techniques for XHTML & HTML
> Internationalization: Specifying the language of content 1.0. 
> [1] http://www.w3.org/TR/2004/WD-i18n-html-tech-lang-20040509/
> Sorry if any of these have been mentioned already.
> 
> 1) For HTML use the lang attribute only, for XHTML 1.0 served 
> as text/html use the lang and xml:lang attributes, and for 
> XHTML served as XML use the xml:lang attribute only. [1]
> 
> Last paragraph, first word "If" is missing its "I".

Fixed in the latest editor's draft:
http://www.w3.org/International/geo/html-tech/tech-lang.html#ri20030112.2138
04197


> 
> 2) Use the lang and/or xml:lang attributes around text to 
> indicate any changes in language. [2]
> 
> The second example uses the value "zh-guoyu" for the lang 
> element even though another section [3] says that "zh-Hans" 
> and "zh-Hant" are preferred for Chinese since these specify 
> clearly the script instead of the language.
> Is there a reason for using "zh-guoyu" instead or was this overlooked?

Ditto 


> 
> 3) Consider using the hreflang attribute on the a element 
> when pointing to a resource in another language, and using 
> CSS to indicate the language. [4]
> 
> I gave the example below a try and it worked in Mozilla 1.4 
> and Netscape 7.
> I didn't test with Safari or IE5 Mac.
> 
> CSS:
>   a[langhref=ja]:after { content:" (Japanese)" }
> (X)HTML:
>   <a href="http://www.google.co.jp/" langhref="ja">Google</a>

Thanks. We are currently chewing over some issues about the usefulness of
this approach.  See the new test page at 
http://www.w3.org/International/tests/sec-hreflang-style-1.html
And the email at 
http://lists.w3.org/Archives/Public/public-i18n-geo/2004Jun/0047.html

Regards,
RI



> 
> Best regards,
> 
> Patrick Benny
> 
> [1]
> http://www.w3.org/TR/2004/WD-i18n-html-tech-lang-20040509/#ri2
0040429.092928424
> [2]
> http://www.w3.org/TR/2004/WD-i18n-html-tech-lang-20040509/#ri2
0030112.213804197
> [3]
> http://www.w3.org/TR/2004/WD-i18n-html-tech-lang-20040509/#ri2
0040429.113217290
> [4]
> http://www.w3.org/TR/2004/WD-i18n-html-tech-lang-20040509/#ri2
0030112.224458239
> 
Received on Friday, 9 July 2004 13:30:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:32:34 GMT