开发者

Accessing Google Translation Service (C# WinForms)

开发者 https://www.devze.com 2022-12-21 03:09 出处:网络
I\'ve seen many websites AND programs that access the google translation service. I\'m trying to create a little ap开发者_如何学Pythonp where there are basically 2 TextBox controls and a Button, whe

I've seen many websites AND programs that access the google translation service.

I'm trying to create a little ap开发者_如何学Pythonp where there are basically 2 TextBox controls and a Button, where you can select a language to translate from and to.

But how do I access the API? I've not found anything so far.


Send WebRequest to

http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}

, where 0 = your text to translate, and 1 = language pair separated by "|" delimiter

0

精彩评论

暂无评论...
验证码 换一张
取 消