Global Variable

kCTLanguageAttributeName

The name of the text language.

Declaration

const CFStringRef kCTLanguageAttributeName;

Discussion

The value of this attribute must be a CFString containing a language identifier conforming to UTS #35. The default is unset. When this attribute is set to a valid identifier, it will be used to select localized glyphs (if supported by the font), and locale-specific line-breaking rules.