Login  |  YouWhat?  |  About Us  |  Blog  |  Forum  |  Develop  |  FAQ  |  Tutorial  |  Policy  |  Contact Us

YouOS Translation APIs

[back to API]

A list of server side APIs that accomplish language translation services.

  • translate - translates a phrase from one language to another

translate

Translates a phrase from one language to another. This API is powered by Google's Translation Tools: http://www.google.com/translate_t

Available languages:

  • english
  • french
  • spanish
  • german
  • italian
  • portuguese
  • chinese
  • japanese
  • korean
  • arabic

Required Parameters:

  • text - the text to translate
  • from_lang - the language to translate from, e.g. (english, french, etc.)
  • to_lang - the language to translate to

Example xml return value for successful language translation of the word "goodbye" where from_lang=english and to_lang=german:

<apiresult name="translate" status="OK">
  <translation>Auf Wiedersehen</translation>
</apiresult>
Login  |  YouWhat?  |  About Us  |  Blog  |  Forum  |  Develop  |  FAQ  |  Tutorial  |  Policy  |  Contact Us