Hello John,

See 
http://www.w3.org/International/tutorials/language-decl/en/all.html#Slide006
0 and 
http://www.w3.org/TR/i18n-html-tech-lang/#ri20040728.121358444

The lang and xml:lang attributes can and should only specify one language at
a time, as they indicate the language of the text you are currently dealing
with.  You can indicate that the document as a whole has two primary
languages using the HTTP header.  Meta elements may also serve the same
purpose, but it is not clear to what extent they are used by anyone.

Hope that helps,
RI


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

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

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

Publication blog:
http://people.w3.org/rishida/blog/
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of john
> Sent: 30 May 2005 09:11
> To: web standards list
> Subject: [WSG] multi-lingual
> 
> Hello.
> 
> I have a question.  I've been doing a lot of multi-lingual 
> sites lately, and I usually separate them into individual 
> sites based on language, and indicate so properly in the code.
> 
> However, one of my clients wants two languages integrated 
> into one site (basically two languages, one next to the 
> other, but in different colors).  My question is, how do I 
> code this so that it makes sense? 
> For individual languages sites, I add:
> 
> lang="en" xml:lang="en" (changing the language, of course)
> 
> But if I'm putting two languages on one page, how is that 
> done?  Can I use:
> 
> lang="en,pt" xml:lang="en,pt" (or something similar)?
> 
> Thanks, in advance, for your assistance.
> -- 
> 
> ~john
> _________________________
> Dr. Zeus Web Design
> http://www.DrZeus.net
> "content without clutter"
> 
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to