New answers tagged

11

Since the Google Translate API requires authentication, a simple work around is to deploy as a web app a Google Apps Script that uses Google's LanguageApp, and then call that using URLExecute[]. To setup the Apps Script, go to script.google.com and create a new script with the following doGet function that uses the LanguageApp.translate method: function ...


11

ClearAll[YandexTranslate]; YandexTranslate[string_String, lang_String, apikey_String: apikey] := StringCases[ URLFetch[ "https://translate.yandex.net/api/v1.5/tr.json/translate?key=" <> apikey <> "&text=" <> string <> "&lang=" <> lang <> "&format=plain" ], "[\"" ~~ x___ ~~ "\"]}" ...



Top 50 recent answers are included