google-translate-php icon indicating copy to clipboard operation
google-translate-php copied to clipboard

take voice word?

Open netwons opened this issue 4 years ago • 3 comments

im want take voice word?

netwons avatar Nov 23 '20 08:11 netwons

Can you explain your problem?

Stichoza avatar Nov 24 '20 20:11 Stichoza

I want the pronunciation&(voice) of the word

netwons avatar Nov 25 '20 14:11 netwons

I wanna add the new language to google translate. Show me the way.

On Wed, Nov 25, 2020, 9:09 PM netwons [email protected] wrote:

I want the pronunciation&(voice) of the word

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Stichoza/google-translate-php/issues/153#issuecomment-733746034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLMKOKWU4DNY6IFUYID6BDSRUJINANCNFSM4T7EQR5Q .

Beilaitei avatar Nov 26 '20 10:11 Beilaitei

@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.

Stichoza avatar Nov 29 '22 22:11 Stichoza