AVSpeechSynthesizer支持哪些语言? [英] What are the supported languages with AVSpeechSynthesizer?
本文介绍了AVSpeechSynthesizer支持哪些语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
AVSpeechSynthesizer似乎支持多代表英语(britsh,我们...)
AVSpeechSynthesizer seems to support english with multi delegates (britsh, us...)
它支持其他语言吗?法语,葡萄牙语...这些地方是否有这些语言的清单?
Does it support other languages? french, Portuguese ... is there a list of these languages somewhere ?
推荐答案
是的.使用
Yes, it does. Use speechVoices
of AVSpeechSynthesisVoice to get a list of available voices with supported languages.
当前(截至2018年9月10日,在iOS 10.3.1和11.4.1上),您将找到以下内容:
Currently (as of 10 September 2018, on iOS 10.3.1 and 11.4.1) you'll find these:
- ar-SA
- cs-CZ
- da-DK
- de-DE
- el-GR
- zh-CN
- en-GB
- en-IE
- zh-CN
- en-ZA
- es-ES
- es-MX
- fi-FI
- fr-CA
- fr-FR
- he-IL
- hi-IN
- hu-HU
- id-ID
- it-IT
- ja-JP
- ko-KR
- nl-BE
- nl-NL
- 否-否
- pl-PL
- pt-BR
- pt-PT
- ro-RO
- ru-RU
- sk-SK
- sv-SE
- th-TH
- tr-TR
- zh-CN
- zh-HK
- zh-TW
- ar-SA
- cs-CZ
- da-DK
- de-DE
- el-GR
- en-AU
- en-GB
- en-IE
- en-US
- en-ZA
- es-ES
- es-MX
- fi-FI
- fr-CA
- fr-FR
- he-IL
- hi-IN
- hu-HU
- id-ID
- it-IT
- ja-JP
- ko-KR
- nl-BE
- nl-NL
- no-NO
- pl-PL
- pt-BR
- pt-PT
- ro-RO
- ru-RU
- sk-SK
- sv-SE
- th-TH
- tr-TR
- zh-CN
- zh-HK
- zh-TW
这篇关于AVSpeechSynthesizer支持哪些语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文