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

# localizedString(forKey:)

Returns the localized name for the property associated with the specified key.

## Declaration

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

## Parameters

- `key`: The key for the property whose localized name is being returned.

## Return Value

Return Value The localized property name.

## See Also

### Getting Localized Postal Values

- [CNPostalAddressStreetKey](contacts/cnpostaladdressstreetkey.md)
- [CNPostalAddressCityKey](contacts/cnpostaladdresscitykey.md)
- [CNPostalAddressStateKey](contacts/cnpostaladdressstatekey.md)
- [CNPostalAddressPostalCodeKey](contacts/cnpostaladdresspostalcodekey.md)
- [CNPostalAddressCountryKey](contacts/cnpostaladdresscountrykey.md)
- [CNPostalAddressISOCountryCodeKey](contacts/cnpostaladdressisocountrycodekey.md)
