String Translation from API call String Translation from API call json json

String Translation from API call


You can translate text but it will require another API call. Not only that, but you will have to create an appropriate request object and parse a response object from your chosen API.

You have various API providers to choose from, the top Google hits being:

  1. Google: https://cloud.google.com/translate/
  2. Yandex: https://tech.yandex.com/translate/

But beware! Machine translation is patchy at best. The likelihood of getting odd sounding or outright wrong results, particularly for anything other than simple text, is very high.