谷歌翻译在Windows窗体 [英] google translator in windows forms

查看:107
本文介绍了谷歌翻译在Windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在.net

推荐答案

Google Translate API现在作为付费服务提供.请参阅:
https://developers.google.com/translate/ [ https://developers.google.com/translate/v2/getting_started [ http://translate.google.com/ [ ^ ].

如果选择以编程方式使用它,则可以使用与 Web抓取:
相似的方法进行操作 http://en.wikipedia.org/wiki/Web_scraping [ http://msdn.microsoft.com/en-us/library/system.net. httpwebrequest.aspx [ ^ ].

我会在过去的答案中进一步解释细节:
从网页中获取特定数据 [如何从另一个站点获取数据 [ ^ ].

—SA
Google Translate API is now available as a paid service. Please see:
https://developers.google.com/translate/[^].

You can start with the Developer''s Guide:
https://developers.google.com/translate/v2/getting_started[^].

If you cannot pay for the service, probably the only possibility would be using just the Google Translate HTTP interface designed for human''s use:
http://translate.google.com/[^].

If you choose to use it programmatically, you can do it using the methods similar to those of Web scraping:
http://en.wikipedia.org/wiki/Web_scraping[^].

Basically, you need to use the class System.Net.HttpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[^].

I explain further detail in my past answers:
get specific data from web page[^],
How to get the data from another site[^].

—SA


这篇关于谷歌翻译在Windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆