---
title: supportedLanguages
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avspeechsynthesisprovidervoice/supportedlanguages
---

# supportedLanguages

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

## Declaration

```swift
var supportedLanguages: [String] { get }
```

## Discussion

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

- [age](avfaudio/avspeechsynthesisprovidervoice/age.md)
- [gender](avfaudio/avspeechsynthesisprovidervoice/gender.md)
- [AVSpeechSynthesisVoiceGender](avfaudio/avspeechsynthesisvoicegender.md)
- [identifier](avfaudio/avspeechsynthesisprovidervoice/identifier.md)
- [name](avfaudio/avspeechsynthesisprovidervoice/name.md)
- [primaryLanguages](avfaudio/avspeechsynthesisprovidervoice/primarylanguages.md)
- [version](avfaudio/avspeechsynthesisprovidervoice/version.md)
- [voiceSize](avfaudio/avspeechsynthesisprovidervoice/voicesize.md)
