<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/LocaleInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:LocaleInfo"
  },
  "title" : "LocaleInfo"
}
-->

# LocaleInfo

Represents a specific language and its corresponding language code.

```
object LocaleInfo
```

## Discussion

The `LocaleInfo` object pairs a two-letter language identifier with its full BCP-47 locale code. Use it when you need to communicate both the base language (`language`) and the regional variant (`languageCode`) together, for example when enumerating the locales supported by a product page or brand creative.

The `language` field corresponds to the ISO 639-1 language code (for example, `en`, `fr`, `ja`). The `languageCode` field includes the region subtag as required by BCP-47 (for example, `en-US`, `fr-FR`, `ja-JP`). When building locale-aware creative specs, use `languageCode` as the map key in `localizedText` structures.

### Example

```json
{
  "language": "en",
  "languageCode": "en-US"
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)