LOCALE

LANSA Integrator

LOCALE

The optional keyword LOCALE is used by services that receive and send content to the LANSA Integrator User Agent desktop application, or other LANSA Integrator services.

Outbound content handlers can use this keyword to control the value of the X-USER-AGENT-LOCALE HTTP protocol property.

If the keyword value is a language_country string value, this is converted into a Locale object.

If the keyword value is *DEFAULT, the locale returned from Locale.getDefault() method is used.

If the keyword value is *CLIENT, the locale returned from the command.getClient().getLocale() method is used.

If no LOCALE keyword is present, then the value of *CLIENT is used.

Example

 

SEND LOCALE(EN_AU)

 

SEND LOCALE(*CLIENT)