skip to Main Content

Android Studio – RecognizerIntent.EXTRA_LANGUAGE doesn't change Recongnizer language suddenly

I have a code in my application which recognize "Persian" language and make a Speech-to-text function: Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "fa"); intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speak..."); but now it's suddenly stopped working and just recognize my STT as English!…

VIEW QUESTION
Back To Top
Search