Code and Coder: about .net core, C#, Delphi, Codetyphon, Freepascal, C++,Python, website technical records

Posted in tag [google-translate]



C# implements Google Translate API

Since the Google Translate official API is a paid version, in the spirit of free and open source, share the code to implement the Google Translate API with C#. This code is very simple, mainly divided into two parts: request content through WebRequest; get the request parameters of Get mode (the difficulty lies in the acquisition of tk). Note that the project needs to add the following references:

System.Web

Newtonsoft.Json

MSScriptControl (Microsoft Script Control 1.0 in the com component)

Recommend a free Google Translate api to you

With the google translate api charge, the small partners who have translation needs are finding another way to do their works.
Recommend a free Google Translate api to you