Moxi Media Inc.
<LOCALE> Tree View | Discussion Forum
IMF Developer's Guide » Site Configuration » <LOCALE>  

The <LOCALE> element is used to set the communication language for a IMF web site application. A LOCALE represents a specific geographical, political, or cultural region. An operation that requires a LOCALE to perform its task is called locale-sensitive and uses the LOCALE to tailor information for the user. For example, displaying a number is a locale-sensitive operation; the number should be formatted according to the customs / conventions of the user's native country, region, or culture.

IMF uses the LOCALE settings to select the proper language for communicating to the user, and for displaying dates and numbers. For a full description about setting up IMF to communicate in multiple languages, please refer to the IMF Internationalization page.

Frequency Parent Elements (this element is valid within):
PRS1 <SITE-CONFIG>
   

Attributes Description
language The language attribute is a valid ISO Language Code. These codes are the lower-case, two-letter codes as defined by ISO-639. You can find a full list of these codes here. Required.
country The country attribute is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes here. Optional.
   

Frequency Description (in this context)
PRS1 The <SITE-CONFIG> element must contain exactly one <LOCALE> element in the specified sequence.
   

Example:

<LOCALE language="en" country="CA" />

Valid HTML 4.01!