What are the supported languages with AVSpeechSynthesizer?

走远了吗. 提交于 2020-01-22 15:21:04

问题


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 ?


回答1:


Yes, it does. Use speechVoices of AVSpeechSynthesisVoice to get a list of available voices with supported languages.

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
  • 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


来源:https://stackoverflow.com/questions/20990225/what-are-the-supported-languages-with-avspeechsynthesizer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!