Offline speech recognition in Android will fail immediately if the language input and voice input do not match

If your Android app uses speech recognition (i.e. enables the RecognizerIntent EXTRA_PREFER_OFFLINE), you may run into an issue where the offline recognition immediately fails even though you have the offline language files installed on your device.

Ensure that the language input in Keyboard & Language settings and in the Google Voice Input (which can also be found as a subcategory of Keyboard settings) are set to the same language as the offline speech recognition files you have installed.

This is a common issue with Canadian phones that come with English (US) offline speech recognition files pre-installed, but have the keyboard and language input set to English (Canada).

*     *     *

Try Simple Home Monitor with old, unused Android devices for a very inexpensive home security solution.

0 thoughts on “Offline speech recognition in Android will fail immediately if the language input and voice input do not match”

Leave a Reply

Your email address will not be published. Required fields are marked *