CSP and HTML Tag Reference
<CSP:TEXT>
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Marks localizable text
Synopsis
<CSP:TEXT textid="MyText">...</CSP:TEXT>
Attributes
CSPText Attributes
Attribute Description Value
ARG1 Replaces %1 in the message text. A string.
ARG2 Replaces %2 in the message text. A string.
ARG3 Replaces %3 in the message text. A string.
ARG4 Replaces %4 in the message text. A string.
DOMAIN The optional application domain for looking up this text. %response.Domain is used if not specified. A string.
LANGUAGE The optional RFC 1766 format language name for looking up this text. %response.Language is used if not specified. A string.
TEXTID The text string identifier within the domain. A string.
Description
This tag is used to localize CSP applications. You can place the CSP:TEXT tag around sections of text that you want to replace with text from a localization file.
The CSP:TEXT tag replaces itself and its contents with text identified by TextId in the %MessageDictionary specified by the Language and Domain attributes.
The values of the attributes ARGn, where n is an integer, are substituted for occurrences of “%n” in the message text.
For more information, refer to the Localization chapter in the CSP Programming Guide.