Locale Property Keys

Predefined locale keys used to get property values.

Overview

Locale objects use key-value pairs to store property values. Use the CFLocaleGetValue function to get the value of a specific property listed above.

Topics

Constants

kCFLocaleIdentifier

Specifies locale identifier.

kCFLocaleLanguageCode

Specifies the locale language code.

kCFLocaleCountryCode

Specifies the locale country code.

kCFLocaleScriptCode

Specifies the locale script code.

kCFLocaleVariantCode

Specifies the locale variant code.

kCFLocaleExemplarCharacterSet

Specifies the locale character set.

kCFLocaleCalendarIdentifier

Specifies the locale calendar identifier.

kCFLocaleCalendar

Specifies the locale calendar.

kCFLocaleCollationIdentifier

Specifies the locale collation identifier.

kCFLocaleUsesMetricSystem

Specifies the whether the locale uses the metric system.

kCFLocaleMeasurementSystem

Specifies the measurement system used.

kCFLocaleDecimalSeparator

Specifies the decimal point string.

kCFLocaleGroupingSeparator

Specifies the separator string between groups of digits.

kCFLocaleCurrencySymbol

Specifies the currency symbol.

kCFLocaleCurrencyCode

Specifies the locale currency code.

kCFLocaleCollatorIdentifier

Specifies the collation identifier for the locale.

kCFLocaleQuotationBeginDelimiterKey

Specifies the begin quotation symbol associated with the locale.

kCFLocaleQuotationEndDelimiterKey

Specifies the end quotation symbol associated with the locale.

kCFLocaleAlternateQuotationBeginDelimiterKey

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.

kCFLocaleAlternateQuotationEndDelimiterKey

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.