---
title: "POST /v3/{+parent}:romanizeText"
method: POST
path: "/v3/{+parent}:romanizeText"
tags: ["projects"]
---

# POST /v3/{+parent}:romanizeText

`POST /v3/{+parent}:romanizeText`

Romanize input text written in non-Latin scripts to Latin text.

## Path parameters

- `parent` string, required

## Request body

- RomanizeTextRequest — The request message for synchronous romanization.
  - `contents` string[] — Required. The content of the input in string format.
  - `sourceLanguageCode` string — Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages#roman). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/translate.md) · [All operations](https://skmtc.dev/google/apis/translate/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/translate/revisions/1597c11ae5de/schema)
