Open cgutierr-zgz opened 1 year ago
iOS or Android? So you have successfully used voice recognition for this language? If it never worked I'd suggest you make sure the right speech packs are downloaded to the device. But if it works properly sometimes then it sounds like an issue with the platform speech recognition services.
It's iOS, the packages are downloaded, it's pretty weird because I have implement my own native solution and recognized it fine, but in the plugin I get this error, usually works only on the first try (sometimes)
Well that's an interesting result. With another language it works consistently but with this language it does work sometimes but not consistently?
Well that's an interesting result. With another language it works consistently but with this language it does work sometimes but not consistently?
For me it happens with this one, for a coworker it happens with German
We have all packages downloaded and when we call .locales() the languages used are actually part of the list, which I guess it's weird
Right, but if you use a different language, it works consistently? And can you use a language that is not the system default language and have it work consistently? In other words is it just that one other language that is causing the issue or is trying to use any language that is not the default a problem?
Right, but if you use a different language, it works consistently? And can you use a language that is not the system default language and have it work consistently? In other words is it just that one other language that is causing the issue or is trying to use any language that is not the default a problem?
Oh sorry, yes, I've used many others languages consistently such as Arabic Spanish english and German
The error is always the same?
Required assets are not available for Locale:ca-ES
But in your own native solution you can get that language to work properly on that device and consistently?
This is somewhat interesting and possibly related https://developer.apple.com/forums/thread/703770
Are you using on device recognition explicitly?
Also, if you wanted to point me at the code for your native solution I could compare it to the plugin implementation to try to spot the difference.
Hi @sowens-csd sorry I was away for the rest of the day. Yes, it works without a problem, Let me copy the code snippet
When I try to recognize this language:
ca-ES
I get the following error:Required assets are not available for Locale:ca-ES
Thing is that, if i load the locales, i get it as part of the list:
LocaleName: alemán (Alemania) - de-DE LocaleName: alemán (Austria) - de-AT LocaleName: alemán (Suiza) - de-CH LocaleName: cantonés (China continental) - yue-CN LocaleName: catalán (España) - ca-ES <- LocaleName: checo (Chequia) - cs-CZ ...
The system locale is: LocaleName: español (México) - es-MX (Phone was set to it for testing)
It's weird because sometimes it works one time, and the second I get this error, but usually it just doesn't work at all