Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SpeechRecognition.SupportedLocales
Queries supported locales.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Speech | 9.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameters
none
Result
Returns list of locale identifiers or error.
Description
Queries supported locales.Returns the set of locales that are supported by the speech recognizer.
This method returns the locales for which speech recognition is supported. Support for a locale does not guarantee that speech recognition is currently possible for that locale. For some locales, the speech recognizer requires an active Internet connection to communicate with Apple's servers. If the speech recognizer is currently unable to process requests, available returns false.
Speech recognition supports the same locales that are supported by the keyboard's dictation feature.
Examples
Query locales
Set Variable [ $list; Value: MBS( "SpeechRecognition.SupportedLocales" ) ]
Example result:
nl-NL
es-MX
fr-FR
zh-TW
it-IT
vi-VN
fr-CH
es-CL
en-ZA
ko-KR
ca-ES
ro-RO
en-PH
es-419
en-CA
en-SG
en-IN
en-NZ
it-CH
fr-CA
hi-IN
da-DK
de-AT
pt-BR
yue-CN
zh-CN
sv-SE
hi-IN-translit
es-ES
ar-SA
hu-HU
fr-BE
en-GB
ja-JP
zh-HK
fi-FI
tr-TR
nb-NO
en-ID
en-SA
pl-PL
ms-MY
cs-CZ
el-GR
id-ID
hr-HR
en-AE
he-IL
ru-RU
wuu-CN
de-DE
de-CH
en-AU
nl-BE
th-TH
pt-PT
sk-SK
en-US
en-IE
es-CO
hi-Latn
uk-UA
es-US
Example Databases
Blog Entries
This function checks for a license.
Created 22nd August 2019, last changed 22nd August 2019
SpeechRecognition.RequestAuthorization - SpeechRecognition.SupportsOnDeviceRecognition