Translation Result
English (en)
Spanish (es)
"Hello, world!"
Property | Value |
---|---|
Detected Language Code | en |
Confidence | 1.0 |
Model | nmt |
{
"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.