Kaljurand / K6nele

An Android app that offers speech-to-text user interfaces to other apps
http://kaljurand.github.io/K6nele/
Apache License 2.0
271 stars 82 forks source link

Correctly handle the case where EXTRA_LANGUAGE is not set #31

Closed Kaljurand closed 9 years ago

Kaljurand commented 9 years ago

Original issue 27 created by Kaljurand on 2013-01-13T20:03:55.000Z:

According to:

http://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE

the user's preferred locale must be used for the identification of the input speech language in case EXTRA_LANGUAGE is not set.

This has some complications for K6nele because many Estonian users prefer a non Estonian locale because the Estonian translation of Android is often horrible. See also:

http://nugiline.wordpress.com/2011/09/03/androidi-eesti-keel-imeb-lurinal-samsung-galaxy-s-ii-i9100/

Note also that IMEs have their own technique of identifying the language (by "selectedLanguage" String).

Kaljurand commented 9 years ago

Comment #1 originally posted by Kaljurand on 2013-01-20T17:18:35.000Z:

v0.8.38 has a "respect locale" setting ("off" be default)