-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #87
Update README.md #87
Conversation
Correct locale parameter. Change en-US to en_US.
@Louis-7 Can you clarify your device condition? According to Apple's docs regarding locales (https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html), it seems that I'm also in use of this library and had no chance to encounter malfunctioning with this string. |
I looked at the link you sent @ohtangza Specifically this portion says to use the format: Here's a list of locale IDs for iOS For Android, I don't think it matters so much but it seems like most examples use Language tags which returns RecognizerIntent/EXTRA_LANGUAGE_PREFERENCE says to "use a locale string like 'en-US'." and doesn't elaborate beyond that. |
I did some search and I find a post here -> How to set the language in speech recognition on android? which excetly match the source code, it says "en-US" is the right parameter. But on my phone I'm sure about that Maybe different version of OS have different format of language options. We may do more test on it. |
@Louis-7 |
Update comments for language setting (not finalize)
Just a note: iOS locales use the |
Anyway, we should find a way to notice other developers. Other people may have this issue either. |
better add this to another section of readme |
Correct locale parameter. Change "en-US" to "en_US" since "en-US" totally not working.