title: How to set Dutch Language in Text-To-Speech?
body: <p>I want to set Dutch Language in my TTS object. Following is the code, </p>
  
  <pre><code>@Override
  public void onInit(int status) 
  {
      if ( status == TextToSpeech.SUCCESS ) 
      {
          int result = tts.setLanguage(Locale.getDefault());
  
          System.out.println ( "Result : " + result  + " " + Locale.getDefault().getLanguage() );
  
          if (result == TextToSpeech.LANG_MISSING_DATA
                  || result == TextToSpeech.LANG_NOT_SUPPORTED) 
          {
              Toast.makeText( this , "Please Set your Language to English US.", Toast.LENGTH_LONG ).show();
          }
          else
          {
              tts.speak( "Hoe gaat het",TextToSpeech.QUEUE_FLUSH, null );
          }
      }
  }
  </code></pre>
  
  <p>Following line sets the language in TTS</p>
  
  <pre><code>int result = tts.setLanguage(Locale.getDefault());
  </code></pre>
  
  <p>Available Locale's in Locale.</p>
  
  <blockquote>
    <p><img src="https://i.stack.imgur.com/ly3wB.png" alt="enter image description here"></p>
  </blockquote>
  
  <p>Now if my Phone's Language's is Dutch then I am able to set TTS's language as Dutch Language, but if My Phone's Language is not dutch ( for e.g. if it is English ) then there is no option to set the TTS's language as Dutch. </p>
  
  <p>Can anybody help me to set the Dutch language in TTS?</p>