Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.getLocaleString

Returns a locale-specific string.

Syntax

Parameters

sName
A key in the SystemLocaleString database table.

sLocale
Locale of the string (for example, en_US or fr_CA).

Returns

The locale-specific message associated with the specified sName.

Description

Call getLocaleString to 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
Message
100000
continue
en_US
Continue
100001
continue
fr_FR
Continuez
100002
stop
en_US
Stop now.
100003
stop
fr_FR
Arrêt maintenant.

 

Example

Using the preceding table, you would access the stop message appropriate for the French in France locale through the following code:

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.