Using Internationalized Strings in Adaptive Tags
Adaptive tag attribute value replacement allows you to
display localized content based on the current user's portal locale.
ALI and Ensemble store internationalized strings in localized
string files with different files for each supported language. The
portal knows the locale of the current user and retrieves strings
from the correct language folder automatically. To internationalize
a pagelet, move all strings into custom string files and translate
them.
To display content in the pagelet, reference the strings
using the value tag from the Logic tag library. ALI and Ensemble know
the locale of the current user and retrieve the string from the correct
language folder automatically. For example, the HTML below retrieves
the first string from a XML language file called my_message_file.xml.
<span xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>
<pt:logic.value pt:value="$#1.my_message_file"/>
</span>