[ESW Wiki] Update of "its0601TechAttrAndTrans" by YvesSavourel

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification.

The following page has been changed by YvesSavourel:
http://esw.w3.org/topic/its0601TechAttrAndTrans

------------------------------------------------------------------------------
  
  All these potential problems do not occur when the text is the content of an element rather than the value of an attribute.
  
+ ==== Technique: Do no put translatable text in attributes ====
+ 
+ Use elements to store all transltable text.
+ 
+ Make sure all translatable text is stored as element content. For example, do not allow this:
+ 
+ {{{<image src="elephants.png
+  alt="Elephants bathing in the Zambezi river" />}}}
+ 
+ but, instead design <image> for this:
+ 
+ {{{<image src="elephants.png>Elephants bathing 
+ in the Zambezi river</image>}}}
+ 

Received on Tuesday, 28 March 2006 20:18:31 UTC