Re: Unicode language character

You have this about right. Another possiblity is to have several children:

<section>
<title xml:lang="en">the section</title>
<title xml:lang="fr">la section</title>
<text
xml:lang="x-rubbish">uhonvurogv8wnhvp5gos8herlimhcl45789eynglsve8mhgc5lexy5gvl8nvm5sl7n4iz7ewnvlzerhguv</text>
</section>

...

cheers

Charles McCN

On Sat, 10 Jun 2000, Karl Ove Hufthammer wrote:

  ----- Original Message -----
  From: "Charles McCathieNevile" <charles@w3.org>
  To: "Karl Ove Hufthammer" <huftis@bigfoot.com>
  Cc: "Masayasu Ishikawa" <mimasa@w3.org>; <w3c-wai-ig@w3.org>
  Sent: Friday, June 09, 2000 10:07 PM
  Subject: Re: Unicode language character
  
  
  | I imagine that when it comes time for the HTML group to redesign
  object (and
  | other parts of XHTML perhaps, by and by) they will be more inclined to
  use
  | full elements insterad of attributes.
  
  I hope so.
  
  | This is certainly the apparent trend
  | among similar groups like SVG and SMIL.
  |
  | I agree that it is a problem not being able to internationalise
  | attributes. The two approaches are to redesign the elements so they
  have
  | content (like object does in general, although not for title) that can
  be
  | real XML, and therefore can be internationalised, or to add attributes
  that
  | describe the properties of other attributes. Either case means
  buidling new
  | tools, but in teh second one it gets messy much more quickly.
  
  Yes, the second one sounds real messy. If elements are used in stead of
  attributes ('alt', 'title', 'summary' and 'label'), how would this work?
  Should the attributes be turned into a child elements, like this:
  
  <p><title>foo</title>Dorem ipsum dolor</p>
  
  BTW, there's currently no problems if the a attribute contains *only*
  words from another language:
  
  <p lang="nn"><abbr lang="en" title="HyperText Markup Language"><span
  lang="nn">HTML</span></abbr> er ein interessant standard.</p>
  
  Here, 'HyperText Markup Language' should be pronouced in an English
  voice, while 'HTML' should be pronouced like the these letters are in
  Norwegian Nynorsk.
  
  -- 
  Karl Ove Hufthammer
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 

Received on Monday, 12 June 2000 05:10:13 UTC