Home > Backend Development > PHP Tutorial > Google Translate API 收费了,仅有的积分求php的其它在线翻译写法解决思路

Google Translate API 收费了,仅有的积分求php的其它在线翻译写法解决思路

WBOY
Release: 2016-06-13 13:32:31
Original
1363 people have browsed it

Google Translate API 收费了,仅有的积分求php的其它在线翻译写法
https://developers.google.com/translate/v2/getting_started
"Google Translate API is paid service."

传值英文,返回中文即可
多谢大家!

------解决方案--------------------
http://translate.google.cn/?sourceid=cnhp

我是搞这里的,用php curl模拟提交、
请求多了他会返回错误的、然后用sleep()停N秒、接着翻又报错的话停N*N秒,还换ip什么的直到正常。
以前有这么干过、曾翻过几十万遍……有点对不住gg了哈
------解决方案--------------------
http://blog.helosa.org/2012/03/31/bing-translator-api.html

使用bing 每个月200000字符,不过你可以搞多个账号,相对于没有量的限制。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template