Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7163977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:59:34+00:00 2026-05-28T13:59:34+00:00

How do I set the voice recognition language to something that I choose? For

  • 0

How do I set the voice recognition language to something that I choose?

For example, is there something that I can set to change the voice recognition language?

I am using the following code, but I do not know how to specify the language.

What can I do?

 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
 intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
 intent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt);
 intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 100);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:59:35+00:00Added an answer on May 28, 2026 at 1:59 pm

    I’ve never used the RecognizerIntent before. But it seems like there is an extra that you can put for selecting a different language

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

    I would think that if you make another putExtra() call and pass it that constant and a string in the proper form (“en-US”) it would set the language.

    However I don’t know and don’t see anywhere on there exactly how many / which languages are supported. So you may have limited success trying to have it use different languages.

    I would think something like this would do the trick:

    intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US");
    

    you just need to find the bcp47 compliant language tag for the language you are interested in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a program in C# using System.Speech.Recognition that recognizes voice commands and translates
how can I programmatically set the system volume for voice call when using a
Can anyone recommend a library - free, or commercial but affordable ( There are
Are there any way I can configure nhibernate to set DateTime.MinValue instead of null
PHP Doc (http://php.net/manual/en/language.operators.bitwise.php) clearly states: ~ $a Not Bits that are set in $a
I have managed to use SAPI Text-To-Speech in Delphi/Lazarus by using the following code:
I just want to set the timer for the recorded voice. So, that it
I set a passphrase when creating a new SSH key on my laptop. But,
I set up 404 handler page in web.config, but it works ONLY when extension
I have the following set of controls. Scenario 1: If you select one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.