<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/locale-property-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Locale Property Keys"
}
-->

# Locale Property Keys

Predefined locale keys used to get property values.

## Discussion

Locale objects use key-value pairs to store property values. Use the [`CFLocaleGetValue(_:_:)`](/documentation/CoreFoundation/CFLocaleGetValue(_:_:)) function to get the value of a specific property listed above.

## Topics

### Constants

[`static let identifier: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/identifier)

Specifies locale identifier.

[`static let languageCode: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/languageCode)

Specifies the locale language code.

[`static let countryCode: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/countryCode)

Specifies the locale country code.

[`static let scriptCode: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/scriptCode)

Specifies the locale script code.

[`static let variantCode: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/variantCode)

Specifies the locale variant code.

[`static let exemplarCharacterSet: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/exemplarCharacterSet)

Specifies the locale character set.

[`static let calendarIdentifier: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/calendarIdentifier)

Specifies the locale calendar identifier.

[`static let calendar: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/calendar)

Specifies the locale calendar.

[`static let collationIdentifier: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/collationIdentifier)

Specifies the locale collation identifier.

[`static let usesMetricSystem: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/usesMetricSystem)

Specifies the whether the locale uses the metric system.

[`static let measurementSystem: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/measurementSystem)

Specifies the measurement system used.

[`static let decimalSeparator: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/decimalSeparator)

Specifies the decimal point string.

[`static let groupingSeparator: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/groupingSeparator)

Specifies the separator string between groups of digits.

[`static let currencySymbol: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/currencySymbol)

Specifies the currency symbol.

[`static let currencyCode: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/currencyCode)

Specifies the locale currency code.

[`static let collatorIdentifier: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/collatorIdentifier)

Specifies the collation identifier for the locale.

[`static let quotationBeginDelimiterKey: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/quotationBeginDelimiterKey)

Specifies the begin quotation symbol associated with the locale.

[`static let quotationEndDelimiterKey: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/quotationEndDelimiterKey)

Specifies the end quotation symbol associated with the locale.

[`static let alternateQuotationBeginDelimiterKey: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/alternateQuotationBeginDelimiterKey)

Specifies the alternating begin quotation symbol associated with the locale. In some locales, when quotations are nested, the quotation characters alternate. Thus, `NSLocaleQuotationBeginDelimiterKey`, then `NSLocaleAlternateQuotationBeginDelimiterKey`, and so on.

[`static let alternateQuotationEndDelimiterKey: CFLocaleKey!`](/documentation/CoreFoundation/CFLocaleKey/alternateQuotationEndDelimiterKey)

Specifies the alternating end quotation symbol associated with the locale. In some locales, when quotations are nested, the quotation characters alternate. Thus, `NSLocaleQuotationEndDelimiterKey`, then `NSLocaleAlternateQuotationEndDelimiterKey`, and so on.



---

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)