Contents

localeIdentifier

The language of the voice. An NSString

Declaration

static let localeIdentifier: NSSpeechSynthesizer.VoiceAttributeKey

Discussion

The canonical locale identifier string describing the voice’s locale. A locale is generally composed of three pieces of ordered information: a language code, a region code, and a variant code. Refer to documentation about the NSLocale class or Internationalization and Localization Guide for more information.

See Also

Voice Attribute Keys