@Jacob L
Thanks for trying to help!
I forgot to mention that I tried bing, but that doesn't even get an URL with parameters for translation. In the meantime, I got a couple more ideas, and I think I found something I'll post below, after answering
@JosueG28.
@JosueG28
I was trying the same with on google translate site, while having a look in Chrome Dev Tools, in the Network tab, and the response I got for:
https://translate.google.com/?sl=de&tl=en&text=milch
would also not contain the word milk, but the webpage would display the word milk in the translation.
Indeed, Google has a translation api, and as you have already mentioned it is paid. Although it has some free part, they give you 300$ and you're supposed to spend them in the first 90 days of activation.
Thanks for chiming in!
What I found out just few minutes ago is that yandex has an api and it seems free, but what I need to do is try to figure out how they generate the ID, as it seems to be the most important parameter. Here you can see the ID is c968715c.6482136d.a7465121.74722d74657874-0-0.
To find this related info to yandex I used Fiddler and then I monitored:
https://translate.yandex.com/en/?source_lang=de&target_lang=en&text=milch
The monitoring lead up to this link:
https://translate.yandex.net/api/v1...ng=de&target_lang=en&reason=paste&format=text
for which I got this result:
You can see milk in the JSON structure, as the response.
I tried issuing the same request using the Fiddler Composer, by only changing mich to
gut (
gut means
good in german), and guess what, I got the translation for it as well:
, and this is the answer:
Now you can see
good showing up in the JSON structure.
I'm gonna try first to use this ID to see for how long it will hold before denying requests.
In case I won't figure out how the ID gets generated, and if also the requests will break after some time, I'll try having a look at other translators. I think baidu and naver have also translators as I'm avoiding paid APIs.