---
schema_version: "1"
id: 549ac3a7352b6e773c11640d1af49e44829d86c0addcc3595f179d90ef7678fd
title: Locale
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/locale.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/locale.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 47725df82f9e53711f1c7f223a1fd727b95f241e4b427ae28e46ba211a623ee2
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Locale

An object that represents a specific locale in Marketing Cloud Engagement and gives the location of a subscriber. If both a locale ID and a locale name are given, the ID takes precedence.

## Properties

| Name                | Data Type                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Client`            | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                 | Specifies the account ownership and context of an object.                                                                                                                                                                                                                                                                                                                                                                       |
| `CorrelationID`     | String                                         | Identifies correlation of objects across several requests.                                                                                                                                                                                                                                                                                                                                                                      |
| `CreatedDate`       | DateTime                                       | The date and time when the object was created.                                                                                                                                                                                                                                                                                                                                                                                  |
| `CustomerKey`       | String                                         | User-supplied unique identifier for an object within an object type. This property corresponds to the external key assigned to an object.                                                                                                                                                                                                                                                                                       |
| `ID`                | Int                                            | Read-only identifier for an object. Some objects use the ObjectID property as a unique ID.                                                                                                                                                                                                                                                                                                                                      |
| `LocaleCode`        | String                                         | The name of the locale. This property accepts either a two-character locale code or a five-character locale code, with two sets of letters separated by a dash. In the latter case, the first two letters represent the language to be used, and the last two letters represent the country where the subscriber is located. For example, en-US represents English and United States, while es-ES represents Spanish and Spain. |
| `ModifiedDate`      | DateTime                                       | The date and time when the object was last modified.                                                                                                                                                                                                                                                                                                                                                                            |
| `ObjectID`          | String                                         | System-controlled, read-only text string identifier for object.                                                                                                                                                                                                                                                                                                                                                                 |
| `ObjectState`       | String                                         | Not used.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Owner`             | [Owner](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) object                       | Describes account ownership of subscriber in an on-your-behalf account.                                                                                                                                                                                                                                                                                                                                                         |
| `PartnerKey`        | String                                         | Unique identifier provided by partner for an object. This property is accessible only via API.                                                                                                                                                                                                                                                                                                                                  |
| `PartnerProperties` | Array of [APIProperty](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) objects | A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.                                                                                                                                                                                                                                                                                                         |

## Related Items

- [English Country Names and Code Elements](http://www.iso.org/iso/english_country_names_and_code_elements)
- [Five-Character Locale Code](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/%3Chttp://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(VS.80).aspx>)
