Translating HTML Definitions
HTML objects are considered
code, similar to PeopleCode objects, and do not have translated versions.
To represent translatable strings within HTML objects, use dynamic
text such as message catalog entries. For instance, instead of a hard
coded string Sample Text, use %Message(1001,1234,"Sample
Text"), and translate the string in the message catalog
. When the page is displayed in the browser, the HTML object will
display the text for the session language.
An example of this in a delivered HTML object is in PT_PROCESSING:
delayobj.innerHTML="<span> %Message(124, 537, Processing Please wait) </span>";