locale

Defines information about the user's locale.

When you specify a locale, data is rendered in a format that takes into account the linguistic and cultural preferences of the user.

All locales are predefined. You cannot define additional locales.

References

Used by the following properties:

Properties

This class has the following properties.

description

Specifies the locale description, in the language of the locale identified in the header for the request. Determined by the authenticated user's account, this language can be changed using the SDK.

This property

  • is of type string

    is encoded as type xs:string

  • is read-only

locale

Specifies the locale. The format of the locale follows the Internet Engineering Task Force (IETF) open standard RFC3066.

Use this property to set the language for IBM® Cognos® Analytics object names, and the appropriate localized format for date, time, and currency values.

This property

  • is of type language

    is encoded as type xs:string

  • is read-only