---
title: "localizedString(forKey:)"
framework: contacts
role: symbol
role_heading: Type Method
path: "contacts/cncontact/localizedstring(forkey:)"
---

# localizedString(forKey:)

Returns a string containing the localized contact property name.

## Declaration

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

## Parameters

- `key`: A string containing the contact property key.

## Return Value

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”.
