UpdateLocale

Use this service to update a locale.

Required Parameter

Parameter Key Value Type Parameter Description
locale Alphanumeric string

The name of the LSF locale to be updated.

Maximum length for strings is 10.

Optional parameters

Parameter Key Value Type Parameter Description
language Alphanumeric string

The language assigned or to be assigned to the LSF locale; should be defined in the LSF language definitions

Maximum length for strings is 10.

Fixed values must be a predefined language in LSF.

dateFormat Alphanumeric string

String of characters that represent how the date is displayed in online forms and programs. For example, MMDDYYYY

Fixed values are MMDDYYYY, DDMMYYYY, YYYYMMDD.

dateSeparator Character

The character or symbol to be used to separate the month, day and year values of dates.

The maximum length for strings is 1. If more than one character is specified, the value is truncated.

timeFormat Alphanumeric string

This parameter defines how time is displayed in online forms and programs, can be in either 12 or 24-hour format.

Fixed values are HR12 and HR24.

timeSeparator Character

The character or symbol to be used to separate the hour, minute and second values of time .

Maximum length for strings is 1. If more than one character is specified, the value is truncated.

thousandsSeparator Character

The character or symbol to be used to separate the digits of numerical or monetary values per three digits / decimal places.

Maximum length for strings is 1. If more than one character is specified, the value is truncated.

decimalSeparator Character

The character or symbol to be used to separate the whole and decimal parts of numerical or monetary values.

Maximum length for strings is 1. If more than one character is specified, the value is truncated.

currencySymbol Character

The character or symbol to be used to represent the currency of monetary values.

Maximum length for strings is 1. If more than one character is specified, the value is truncated.

currencySymbolPosition Alphanumeric string

This parameter defines if the currency symbol will be printed before or after the monetary value.

Fixed values are PREFIX and SUFFIX.

percentSymbol Character

The character or symbol to be used to indicate percentage values. For example, %.

Maximum length for strings is 1. If more than one character is specified, the value is truncated.

negativeSignPosition Alphanumeric string

This parameter defines if the negative sign will be printed before or after the numerical value.

Fixed values are PREFIX and SUFFIX.

calendarType Alphanumeric string

This parameter defines which calendar type the locale will use, i.e. Gregorian or Hijiri.

Fixed values are GREGORIAN and HIJRI.

commaPlacement Alphanumeric string

This parameter defines which numerical system the locale will use, if international or Indian.

Fixed values are INTERNATIONAL and INDIAN.

XML Request Format

Format of the request XML payload for POST method calls. Note that these must always be wrapped by <ACTION> nodes.

New format

<OLDLOCALE locale="XXX" ...old values... />
<NEWLOCALE locale="XXX" ...new values... />

Old format

<LOCALE locale="XXX" ...new values... />