Stichoza / google-translate-php

🔤 Free Google Translate API PHP Package. Translates totally free of charge.
MIT License
1.82k stars 383 forks source link

take voice word? #153

Closed netwons closed 1 year ago

netwons commented 3 years ago

im want take voice word?

Stichoza commented 3 years ago

Can you explain your problem?

netwons commented 3 years ago

I want the pronunciation&(voice) of the word

Stichoza commented 1 year ago

@netwons Currently it's not possible to get an audio of pronunciation, but you can use getRespone() method to dig into more data. You can find things like spelling and other useful data. Audio file is a separate HTTP request on Google Translate. Hopefully I'll implement it someday.

@Beilaitei This package only supports languages which are available on Google Translate. You can't add a new language.