Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Application File Reference > Files in the jd Directory >
intl.js
This file contains the text strings used in alert messages. You can edit these strings to internationalize your application.
Additionally, if your application contains custom code that requires text strings, you should define the strings inside this file.
To define a text string inside the intl.js file
- Define a variable for the string.
- Define the message content of the text string.
NOTE: All text strings must be in double quotes. You can use arguments inside the strings.
To call the text string you defined, use the following syntax inside your custom code:
ISS.ErrIntern(STRINGNAME[, arg1, arg2, ... arg_n])
where:
STRINGNAME Name (variable) used to identify the text string inside the intl.js file arg_n Optional argumentsSample usage:
Define the string variable:
var TESTMSG=0;
Define text message content:
_SWEmsgAry["TESTMSG"]= "%1 Fish, %2 Fish, %3 Fish, %4 Fish";
Inside your code, call the text string:
ISS.ErrIntern(ISS.TESTMSG,"one","two","red","blue");
Loading and Processing Messages
You can optionally tailor the messages that users see when Siebel eAdvisor is loading the application or is processing an input request. To do this:
- Define the message content of one or both of the variables listed in Table 5.
- Modify the message arrays in the intl.js file.
Sample usage:
Open the intl.js file with a text editor and define one or both variables as follows:
_SWEmsgAry["ISSCDA_DEFAULT_DATA_LOAD_STR"] = "Data Loading...";
_SWEmsgAry["ISSCDA_DEFAULT_CALC_PAGE_STR"] = "Calculating...";
Replace the text string within quotes on the right side of the equal (=) sign with the text of your choice.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |