<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFLocaleCopyDisplayNameForPropertyValue(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFLocaleCopyDisplayNameForPropertyValue"
  },
  "title" : "CFLocaleCopyDisplayNameForPropertyValue(_:_:_:)"
}
-->

# CFLocaleCopyDisplayNameForPropertyValue(_:_:_:)

Returns the display name for the given value.

```
func CFLocaleCopyDisplayNameForPropertyValue(_ displayLocale: CFLocale!, _ key: CFLocaleKey!, _ value: CFString!) -> CFString!
```

## Parameters

`displayLocale`

A locale object.

`key`

A string that identifies the type that `value` is. It must be one of the standard locale property keys (see [Locale Property Keys](/documentation/CoreFoundation/locale-property-keys)).

`value`

The value for which the display name is required.

## Return Value

The display name for `value`. Returns `NULL` if there was a problem creating the object. Ownership follows the [The Create Rule](https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-103029).

## Discussion

Note that not all locale property keys have values with display name values.

---

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)