<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayButton/locale",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayButton/locale"
  },
  "title" : "locale"
}
-->

# locale

The language and region used for the displayed Apple Pay button.

```
attribute ApplePayButtonLocale locale;
```

## Discussion

For a list of button locales, see [`ApplePayButtonLocale`](/documentation/ApplePayontheWeb/ApplePayButtonLocale).

---

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)