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.

Answer from Sakshi Gatyan on Stack Overflow
๐ŸŒ
WebsiteVoice
websitevoice.com โ€บ blog โ€บ google-pronounce-words-audio
Google Pronounce Words Audio ยท WebsiteVoice Blog | Add Free Text-to-Speech to Your Site
Another feature that Google translate offers is its pronounce word audio option. You can listen to the pronunciation of desired word or phrase in different languages.
Discussions

audio - Getting pronunciation of a word using Google Translate API - Stack Overflow
I am trying to save the pronunciation of a French word into a .wav or .mp3 file. I was wondering if there was anywhere on the Google Translate API (since it has a pronunciation functionality) that More on stackoverflow.com
๐ŸŒ stackoverflow.com
How accurate is google translates pronunciation?
I would recommending using Wiktionary https://nl.wiktionary.org/wiki/voorbeeld and click on the speaker icon. As it has a lot of entries and almost every entry has an audio file. More on reddit.com
๐ŸŒ r/learndutch
9
30
February 18, 2021
Google Translate has audio pronunciation now!
๐ŸŒ r/hebrew
30
412
September 28, 2021
How accurate is Google Translate audio? - Chinese Pronunciation, Pinyin, and Audio Samples - Chinese-Forums
hi all I am a self-learner (beginner level) Here in Perth, WA, I don't meet that many Mandarin-speakers. I rely on Google Translate to learn the sound of Chinese words. But how accurate is it? I guess individual characters and bi-syllabic words should be OK but in your opinion, does Google Transl... More on chinese-forums.com
๐ŸŒ chinese-forums.com
January 4, 2012
Top answer
1 of 6
6

Right click the page and select "Inspect Element", then go to the network tab. Now, refresh the page with the network panel still open. Wait until nothing is showing up there anymore. While waiting, make sure not to get your mouse near the Listen button. Once nothing is showing up in the network panel, hover and click the listen button. As soon as you hover the listen button, an entry will appear that says "batchexecute". Find this entry. It should be above entries that say log?format=json&hasfast=โ€ฆ.

Click on that and then on the right select the "Response" tab. There should be a bunch of random characters that go off the screen very far to the right

Select just that text and copy it. The easiest way to do this is to scroll all the way to the right first and then click and hold to the right of the ending quotation mark, then move your mouse up to the line above, then move your mouse down to reach the starting quotation mark, holding the mouse the whole time.

Go to the console tab and type v= then paste then press enter. Then, paste this into the console and press enter

{
const a = document.createElement("a");
a.href = "data:audio/mp3;base64,"+JSON.parse(v)[0];
a.download = "file.mp3";
a.click();
}

The mp3 file will download.

2 of 6
4
  1. Google search the word of which you want to download pronunciation by entering the query :"*How to pronounce *word**"
  2. Right-click the page and click View page source.
  3. Search for Mp3. screenshot
  4. click the mp3 link.
  5. Click the 3 dots and click Download.
Top answer
1 of 2
9

Since this question was asked, it's gotten much harder to "scrape" MP3s from Google Translate, but Google has (finally) set up a TTS API. Interestingly it is billed in input characters, with the first 1 or 4 million input characters per month being free (depending on whether you use WaveNet or old school voices)

Nowadays to do this using gcloud on the command line (versus building this into an app) you would do roughly as follows (I'm paraphrasing the TTS quick start). You need base64, curl, gcloud, and jq for this walkthrough.

  1. Create a project on the GCP console, or run something like gcloud projects create example-throwaway-tts
  2. Enable billing for the project. Do this even if you don't intend to exceed the freebie quota.
  3. Use the GCP console to enable the TTS API for the project you just set up.
  4. Use the console again, this time to make a new service account.
    • Use any old name
    • Don't give it a role. You'll get a warning. This is okay.
    • Select key type JSON if it isn't already selected
    • Click Create
    • Hold onto the JSON file that your browser downloads
  5. Set an environment variable to point at that file, e.g. export GOOGLE_APPLICATION_CREDENTIALS="~/Downloads/service-account-file.json"
  6. Get the appropriate access token:
    1. Tell gcloud to use that new project: gcloud config set project example-throwaway-tts
    2. Set a variable TTS_ACCESS_TOKEN=gcloud auth application-default print-access-token
  7. Put together a JSON request. I'll give an example below. For this example we'll call it request.json
  8. Lastly, run the following

     curl \
    -H "Authorization: Bearer "$TTS_ACCESS_TOKEN \
    -H "Content-Type: application/json; charset=utf-8" \
    --data-raw @request.json \
    "https://texttospeech.googleapis.com/v1/text:synthesize" \
    | jq '.audioContent' \
    | base64 --decode > very_simple_example.mp3
    

What this does is to

  • authenticate using the default access token for the project you set up
  • set the content type to JSON (so that jq can extract the payload)
  • use request.json as the data to send using curl's --data-raw flag
  • extract the value of audioContent from the response
  • base64 decode that content
  • save the whole mess as an MP3

Contents of request.json follow. You can see where to insert your desired text, adjust the voice or change output formats via audioConfig:

{
  'input':{
    'text':'very simple example'
  },
  'voice':{
    'languageCode':'en-gb',
    'name':'en-GB-Standard-A',
    'ssmlGender':'FEMALE'
  },
  'audioConfig':{
      'audioEncoding':'MP3'
  }
}

Original Answer

As Hugolpz alludes, if you know the word or phrase you want (via a previous Translate API call), you can get MP3s from a URL like http://translate.google.com/translate_tts?ie=UTF-8&q=Bonjour&tl=fr

Note that &tl=fr ensures that you get French instead of the default English.

You will need to rate-limit yourself, but if you're looking for a small number of words or phrases you should be fine.

2 of 2
4

Similar functionality is provided by the Speech Synthesis API (under development). Third-party libraries are already there, such as ResponsiveVoice.JS.

๐ŸŒ
CNET
cnet.com โ€บ culture โ€บ google translate now helps with pronunciation
Google Translate now helps with pronunciation - CNET
November 17, 2009 - Those trying to translate English into Hebrew, Arabic, or Persian will have to wait for the phonetic option, but Google has also added a feature that lets an English (or any other language) speaker phonetically spell out a word in Arabic, Persian, or Hindi and get a translation of that word in its native character set. And for those trying to translate other languages into English, Google has added a link that produces an audio version of the word or phrase in English.
๐ŸŒ
Quora
quora.com โ€บ How-does-Google-Translate-pronounce-the-words
How does Google Translate pronounce the words? - Quora
Answer: Thanks for A2A. Until answering this question, I have never listened to a Google pronunciation and find that it does a much better job than my SatNav. Early text-to-speech was done using synthetic phonemes. Each phoneme is a most basic sub-syllable sound. For example, using the word โ€œwo...
Find elsewhere
๐ŸŒ
Reddit
reddit.com โ€บ r/hebrew โ€บ google translate has audio pronunciation now!
r/hebrew on Reddit: Google Translate has audio pronunciation now!
September 28, 2021 - Iโ€™ve been using Duolingo (Iโ€™m aware it is limited), but half the new words are not pronounced and Iโ€™m not comfortable enough with the alphabet to sound them out! This is awesome ... Finally! Let me go try it. ... Still none for Yiddish tho ๐Ÿ˜”. But this is AMAZING ... This is particularly useful for Hebrew given that they don't always include niqud in the translation. Without audio or niqud there was no way to know for certain how a Hebrew word is pronounced.
๐ŸŒ
Chinese-Forums
chinese-forums.com โ€บ learning chinese โ€บ speaking and listening skills โ€บ chinese pronunciation, pinyin, and audio samples
How accurate is Google Translate audio? - Chinese Pronunciation, Pinyin, and Audio Samples - Chinese-Forums
January 4, 2012 - hi all I am a self-learner (beginner level) Here in Perth, WA, I don't meet that many Mandarin-speakers. I rely on Google Translate to learn the sound of Chinese words. But how accurate is it? I guess individual characters and bi-syllabic words should be OK but in your opinion, does Google Transl...
๐ŸŒ
Speechify
speechify.com โ€บ blog โ€บ google-pronounce-words-audio
Google Pronounce Words Audio: Learn Correct Pronunciation | Speechify
January 1, 2025 - With tools like Googleโ€™s audio pronunciation feature, translate.google.com, and various apps, you have a wealth of resources at your disposal. Whether youโ€™re aiming to perfect your American English or any other language, consistent practice and the right tools will help you achieve your goals. So next time youโ€™re unsure about how to pronounce a word...
๐ŸŒ
Leonardo English
leonardoenglish.com โ€บ blog โ€บ google-translate-superpowers
Google Translate Superpowers for English Learning: 9 Ways to Use This Powerful Translation Tool
For a language that has a lot of strange words, like English, this is particularly useful. ... Repeat the word or phrase out loud. If itโ€™s long, you can also try shadowing. Click the speaker icon to hear Google pronounce the word or phrase
๐ŸŒ
Google Translate
translate.google.com
Google Translate
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
๐ŸŒ
Google Cloud
cloud.google.com โ€บ translate
Cloud Translation | Google Cloud
Dubbing a video in a foreign language requires Cloud Speech-to-Text, Translation, and Text-to-Speech APIs. Speech-to-Text APIโ€™s transcription of your video gets translated into desired languages by the Translation API; then Text-to-Speech API generates audio from the translated text.
๐ŸŒ
Google Translate
translate.google.com โ€บ translate_t
Google Translator
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
๐ŸŒ
Google Play
play.google.com โ€บ store โ€บ apps โ€บ details
Google Translate - Apps on Google Play
2 weeks ago - Google Translate helped me so much for years, but there's one bug in the app that I can't stand. If I use English voice input, in multi-word sentences, the last word is almost always dropped. If I say "It's more complicated than that" for example, all that's written down is "It's more complicated than".
Rating: 4.2 โ€‹ - โ€‹ 9.07M votes
๐ŸŒ
App Store
apps.apple.com โ€บ ca โ€บ app โ€บ google-translate โ€บ id414706506
Google Translate App - App Store
Feature support varies by language: โ€ข Text: Translate between languages by typing โ€ข Offline: Translate with no internet connection โ€ข Instant camera translation: Translate text in images instantly by just pointing your camera โ€ข Photos: Translate text in taken or imported photos โ€ข Dictation: Translate spoken words and phrases โ€ข Conversations: Translate bilingual conversations on the fly โ€ข Transcribe: Continuously translate someone speaking a different language in near real-time โ€ข Handwriting: Draw text characters instead of typing โ€ข Phrasebook: Star and save translated words an
Rating: 4 โ€‹ - โ€‹ 7.23K votes
๐ŸŒ
Google Support
support.google.com โ€บ translate โ€บ answer โ€บ 6142468
Translate by speech - Computer - Google Translate Help
If your device has a microphone, you can translate spoken words and phrases. In some languages, you can hear the translation spoken aloud. Important: If you use an audible screen reader, we recommend
๐ŸŒ
Google Support
support.google.com โ€บ translate โ€บ answer โ€บ 6142468
Translate by speech - Android - Google Translate Help
If your device has a microphone, you can translate spoken words and phrases. In some languages, you can hear the translation spoken aloud. Important: If you use an audible screen reader, we recommend