It is a simple function to translate a text, from one language to another language, with google translate's api. The google translate endpoint is used without any api key request, from two different url.
string _url = "https://clients5.google.com/translate_a/t?client=dict-chrome-ex&sl={0}&tl={1}&q={2}";
string url = String.Format(_url, FROM_LANGUAGE, TO_LANGUAGE, Uri.EscapeUriString(TEXT));
or
string _url = "https://translate.googleapis.com/translate_a/single?client=gtx&sl={0}&tl={1}&dt=t&q={2}";
string url = String.Format(_url, FROM_LANGUAGE, TO_LANGUAGE, Uri.EscapeUriString(TEXT));