Google Cloud Translation API Response

Translation Result

Translation Details

Source Language

English (en)

Target Language

Spanish (es)

Original Text:

"Hello, world!"

Translated Text:

"¡Hola, mundo!"

Additional Information:

Property Value
Detected Language Code en
Confidence 1.0
Model nmt

API Response


{
  "translations": [
    {
      "translatedText": "¡Hola, mundo!",
      "detectedLanguageCode": "en",
      "model": "nmt",
      "glossaryConfig": null
    }
  ]
}
    

Note: This is a simulated response based on typical Google Cloud Translation API results. In a real scenario, you would need to provide valid project credentials and make an actual API call to receive the translation. The translation provided here is a common and expected result for the given input.