google-translate

Using Google Translate in C# [closed]

血红的双手。 提交于 2019-11-26 12:54:23
I have to translate some text with Google's translate service. All code I've found doesn't work. I think because they have changed their service. If someone has working code, I would be very glad. James Campbell See if this works for you google-language-api-for-dotnet http://code.google.com/p/google-language-api-for-dotnet/ Google Translator http://www.codeproject.com/KB/IP/GoogleTranslator.aspx Translate your text using Google Api's http://blogs.msdn.com/shahpiyush/archive/2007/06/09/3188246.aspx Calling Google Ajax Language API for Translation and Language Detection from C# http://www

How to use Google Translate API in my Java application?

半腔热情 提交于 2019-11-26 12:02:04
问题 If I pass a string (either in English or Arabic) as an input to the Google Translate API, it should translate it into the corresponding other language and give the translated string to me. I read the same case in a forum but it was very hard to implement for me. I need the translator without any buttons and if I give the input string it should automatically translate the value and give the output. Can you help out? 回答1: Use java-google-translate-text-to-speech instead of Google Translate API

Implementing Google Translate with custom flag icons

≡放荡痞女 提交于 2019-11-26 10:24:10
问题 Currently, I\'m using the simple Google Translate drop-down menu found here: http://translate.google.com/translate_tools I\'d like to also be able to click on some flag icons I have and trigger the same javascript calls that are called by the text-based links in the google translate widget. Anyone have ideas on how to accomplish this? I can\'t figure out how to make clicking on the flags initiate the same behavior as clicking on the google translate text links. 回答1: Had a lot of fun finding a

Restricting usage for an Android key for a Google API

被刻印的时光 ゝ 提交于 2019-11-26 03:57:45
问题 My question is about how to properly set the package name and SHA-1 certificate fingerprint in the Google Developers Console in order to restrict usage of my Android API key to my app. When I don\'t have anything set in the \"Restrict usage to your Android apps\" section, my requests to the Google Translate API work properly. The API responds normally with status code 200 and my expected result. But when I specify a package name and SHA-1 certificate fingerprint for my app using the

Using Google Translate in C# [closed]

旧时模样 提交于 2019-11-26 03:09:11
问题 I have to translate some text with Google\'s translate service. All code I\'ve found doesn\'t work. I think because they have changed their service. If someone has working code, I would be very glad. 回答1: See if this works for you google-language-api-for-dotnet http://code.google.com/p/google-language-api-for-dotnet/ Google Translator http://www.codeproject.com/KB/IP/GoogleTranslator.aspx Translate your text using Google Api's http://blogs.msdn.com/shahpiyush/archive/2007/06/09/3188246.aspx