Google Translate
communityFree translation service supporting 100+ languages with text, document, and website translation
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://translation.googleapis.com/language/translate/v2Translate text between languages
Parameters
qtext to translate (stringrequiredformattext|html (stringoptionalsourcesource language code (stringoptional— auto-detect)targettarget language code (stringrequiredReturns
translations[] with translatedText, detectedSourceLanguagePOST
https://translation.googleapis.com/language/translate/v2/detectDetect the language of text
Parameters
qtext to detect (stringrequiredReturns
detections[] with language, confidence, isReliableGET
https://translation.googleapis.com/language/translate/v2/languagesList supported languages
Parameters
targetlanguage for names (stringoptionalReturns
languages[] with language, name