W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

[ESW Wiki] Update of "its0601TechAttrAndTrans" by YvesSavourel

From: <nobody@w3.org>
Date: Tue, 28 Mar 2006 04:24:09 -0000
To: nobody@w3.org
Message-ID: <20060328042409.21159.81352@localhost.localdomain>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC