<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Contacts",
  "identifier" : "/documentation/Contacts/CNContact/localizedString(forKey:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Contacts"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContact(cm)localizedStringForKey:"
  },
  "title" : "localizedString(forKey:)"
}
-->

# localizedString(forKey:)

Returns a string containing the localized contact property name.

```
class func localizedString(forKey key: String) -> String
```

## Parameters

`key`

A string containing the contact property key.

## Return Value

A localized string containing the contact property name.

## Discussion

This method returns a localized string for a contact property key. For example, the value of a Canadian `CNContactPostalAddressesKey` field would be “Postal Code”, while the value of a French one would be “Code Postal”.

---

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)