google-translategoogle-translation-api

How to get pronounce of the word in Google translate api?


In google translate website, if we translate it shows translation and also pronounce of the word.

enter image description here

But when I use the Google translate rest API, it only return the translation, I need pronounce of the word same as website.

enter image description here

My Rest API

https://translation.googleapis.com/language/translate/v2?key=myApiKey&q=%D8%A7%D9%84%D8%A8%D8%B3%D8%AA%D8%A7%D9%86&source=ar&target=en

I may miss something, is any extra parameters there to retrieve these extra information?


Solution

  • Translating a word from the alphabet of one language to another(get the pronuntiation), is named transliteration and it is not supported by Cloud Translate API yet.

    However, there is a feature request filed for the same. You can vote for this feature by clicking "+1" and "STAR" mark to recieve updates on it.