Voice: Locale parameter is not working.

Created on 8 Apr 2018  路  7Comments  路  Source: react-native-voice/voice

I use code in example Voice.start('en-US'); But "en-US" is not working on my phone. My system language is Chinese, every time I speak English, the result is Chinese but not English. So this parameter is not working at all.

Any other way to start voice recognition with specific language?

All 7 comments

en_US should work for iOS and Android.

So the document is wrong? I did some test just now and seems my Phone's setting have influence to this library.

My Phone have it's own "Voice Search" setting, this library can working well if I set it to "English". If I set it to "Chinese", the recognition result is English but the content is wrong.

so, did en_US worked for all case ?

@Winglonelion at least it's worked for me. More discussion here -> https://github.com/wenkesj/react-native-voice/pull/87

i hope it can full replace for en-US, because some recognizing system use en_US as default local tag

@Louis-7 Did you solve your problem??

@lfoliveir4 I haven't work on that project for a long time. But 'en_US' was work for me last time. I raise the PR but it still opens now. If there is no other one find this issue on their device I think we can close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

B4ckes picture B4ckes  路  5Comments

Fistynuts picture Fistynuts  路  7Comments

alvaro1728 picture alvaro1728  路  5Comments

dohvis picture dohvis  路  7Comments

jagadhishm87 picture jagadhishm87  路  3Comments