0

I was create a page which is read by google tts api. But the words does not translated correctly on my page. When, I translate the same phrase in google translate, it's perfectly translate. Note: I'm talking about sounds.

I'm getting the mp3 with CURL and "tl" paramater is "tr".

http://translate.google.com/translate_tts?tl=tr&q="some turkish text"

So what do you think guys, what's my problem.

4

1 に答える 1

0

Google の翻訳 URL にリダイレクトするページのリンクをクリックする際に問題がありますか? その場合、Google がリファラーに伴うすべてのリクエストをブロックするためです。PHP またはその他のバックエンド技術を使用して音声を取得してみてください。

Google の TTS は文書化された API ではなく、qパラメータ内の文字数も 100 文字に制限されています。

于 2013-01-07T14:44:56.670 に答える