title: How to get Hindi voice using google translate/google cloud
body: <p>I am building a personal assistant, which requires to speak back in hindi. I find it weird that google cloud text to speech doesn't offer hindi language, </p>
  
  <p><a href="https://cloud.google.com/text-to-speech/docs/voices" rel="nofollow noreferrer">https://cloud.google.com/text-to-speech/docs/voices</a></p>
  
  <p>while google translator speaks back if you ever translate from english to Hindi and click on speaker button.</p>
  
  <p><a href="https://translate.google.com/" rel="nofollow noreferrer">https://translate.google.com/</a></p>
  
  <p>So, I read on Internet that </p>
  
  <p><a href="https://translate.google.com.vn/translate_tts?ie=UTF-8&amp;q=ANYTHING_TEXT&amp;tl=en&amp;client=tw-ob" rel="nofollow noreferrer">https://translate.google.com.vn/translate_tts?ie=UTF-8&amp;q=ANYTHING_TEXT&amp;tl=en&amp;client=tw-ob</a> </p>
  
  <p>can do the trick. But it is for english. SO if i change the <code>tl</code> to <code>hi</code>, it should work if i replace <code>ANYTHING_TEXT</code> to anything in hindi, but doing so gives me these results:</p>
  
  <p><a href="https://translate.google.com.vn/translate_tts?ie=UTF-8&amp;q=%E0%A4%86%E0%A4%AA%20%E0%A4%95%E0%A5%88%E0%A4%B8%E0%A5%87%20%E0%A4%B9%E0%A5%88%E0%A4%82&amp;tl=hi&amp;client=tw-ob" rel="nofollow noreferrer">https://translate.google.com.vn/translate_tts?ie=UTF-8&amp;q=आप%20कैसे%20हैं&amp;tl=hi&amp;client=tw-ob</a></p>
  
  <p>it is giving me audio I cant understand.</p>
  
  <p>So, my questions are</p>
  
  <p>1) Why we cant access hindi voice using google cloud and can using google translate?</p>
  
  <p>2) How to work around to get hindi voice working in my python file.</p>
  
  <p>3) Google cloud offers google translation api but it only translates the text and gives text at output and not audio. Tell me please if it's true. </p>
  
  <p><a href="https://cloud.google.com/translate/docs/" rel="nofollow noreferrer">https://cloud.google.com/translate/docs/</a></p>