The Google Translate API is a simple yet powerful tool for language translation and detection, providing developers with the ability to integrate multilingual functionality into their applications. This API offers the following endpoints:
These endpoints are ideal for creating applications that require real-time translation, language recognition, or globalized content delivery, such as chatbots, e-commerce platforms, and multilingual websites.
Sample response in the Json-format is easy to read and traffic-efficient.
TranslateDetect language
{"full_text":"Manu’s mother just had a baby. Her cousin, visiting her, asks: – What’s his name? – We don’t know; he can’t talk yet!","original_text":"La mère de Manu vient d'avoir un bébé. Son cousin, lui rendant visite, demande: - Quel est son nom? - nous ne savons pas; Il ne peut pas encore parler!","phrases":[{"original":"La mère de Manu vient d'avoir un bébé.","translated":"Manu’s mother just had a baby."},{"original":"Son cousin, lui rendant visite, demande: - Quel est son nom?","translated":"Her cousin, visiting her, asks: – What’s his name?"},{"original":"- nous ne savons pas;","translated":"– We don’t know;"},{"original":"Il ne peut pas encore parler!","translated":"he can’t talk yet!"}]}