Contents

supportedLanguages

A list of BCP 47 codes that identify the languages a voice supports.

Declaration

var supportedLanguages: [String] { get }

Discussion

These languages are what a voice supports — when given a multi-language phrase — without the need to switch voice. For example, if the primary language is zh-CN, and this value contains zh-CN and en-US, a synthesizer that receives a phrase with both languages would speak the entire phrase.

See Also

Inspecting a voice