Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ICS.getLocaleString
Returns a locale-specific string.
Syntax
public String getLocaleString(String sName, String sLocale);Parameters
sName- A key in the SystemLocaleString database table.
 
sLocale- Locale of the string (for example,
 en_USorfr_CA).
Returns
The locale-specific message associated with the specified
sName.Description
Call
getLocaleStringto access a locale-specific string from the SystemLocaleString database table. This database table holds all the strings that CS displays. An overly simplified version of the table looks as follows:
Table 4: Simplified View of SystemLocaleString Table 
 id key locale Message100000continueen_USContinue100001continuefr_FRContinuez100002stopen_USStop now.100003stopfr_FRArrêt maintenant.
Example
Using the preceding table, you would access the
stopmessage appropriate for the French in France locale through the following code:
String sName = "stop"; String sLocale = "EN-US"; String Message = ics.getLocaleString(sName, sLocale);
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.