<!--
{
  "availability" : [
    "Retention Messaging API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RetentionMessaging",
  "identifier" : "/documentation/RetentionMessaging/locale",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "Retention Messaging API"
    ],
    "preciseIdentifier" : "data:retention_messaging:locale"
  },
  "title" : "locale"
}
-->

# locale

A string that represents a locale short code.

```
string locale
```

## Discussion

For a list of locale short codes the App Store supports, see [Managing metadata in your app by using locale short codes](https://developer.apple.com/documentation/appstoreconnectapi/managing-metadata-in-your-app-by-using-locale-shortcodes).

The locale string is case-sensitive.

For a list of locales and languages the App Store supports, see [App Store localizations](https://developer.apple.com/help/app-store-connect/reference/app-store-localizations/).

---

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)