Question: I've been working on speech Recognition API in android and found out that the speech results vary allot when the language settings are changed , is there a way to set it programmatically ? or is there an intent to lunch the speech language settings screen ? or what else ?
note:
I tried to use this intent extra: 

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

```

but it was ineffective

Answer: 
Have you tried this:

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

```
I tried to use

```
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());

```

but it did not work for me (did not take the system language).
Helped here like this:

```
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault().toString());

```