How can I use http://translate.google.com/ to translate the string in Java program?

前端 未结 4 1737
庸人自扰
庸人自扰 2021-01-29 01:18

I want to use http://translate.google.com/ to translate the string. And now I want to sent a string from a java program in http://translate.google.com/ to translate the string f

4条回答
  •  旧巷少年郎
    2021-01-29 02:16

    Easy task.

    Use this - http://translate.google.com/#{fromLanguage}|{toLanguage}|{your_string_here}

    Just replace languages with yours (you can check it in translator - short names) And add your string that you want to translate.

    You can make request to this site

提交回复
热议问题