react-native-voice / voice

:microphone: React Native Voice Recognition library for iOS and Android (Online and Offline Support)
MIT License
1.76k stars 470 forks source link

"Cannot make recognizer for sq-AL. Supported locale identifiers are..." #461

Closed olsiodobashi closed 8 months ago

olsiodobashi commented 9 months ago

I'm using this library for a small project of mine and I need to recognize Albanian language (sq-AL). It looks like it's missing from the supported list of languages. Is there a way to add support for it? I've installed the language on both my Mac and iPhone where I'm testing the app but I'm getting the same error.

AngadSethi commented 9 months ago

@olsiodobashi, are you able to use your keyboard's dictation feature in Albanian? That'll tell you whether the language is supported or not.

https://developer.apple.com/documentation/speech/sfspeechrecognizer/1649889-supportedlocales#discussion

olsiodobashi commented 9 months ago

Ah no I'm not. So it's the device not supporting the language then, not the library. Thanks for your reply.

AngadSethi commented 9 months ago

You're welcome!