RomanizeTextResponse Stay organized with collections Save and categorize content based on your preferences.
The response message for synchronous romanization.
| JSON representation |
|---|
{"romanizations":[{object ( |
| Fields | |
|---|---|
romanizations[] |
Text romanization responses. This field has the same length as |
Romanization
A single romanization response.
| JSON representation |
|---|
{"romanizedText":string,"detectedLanguageCode":string} |
| Fields | |
|---|---|
romanizedText |
Romanized text. If an error occurs during romanization, this field might be excluded from the response. |
detectedLanguageCode |
The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-30 UTC.