Stay organized with collections
Save and categorize content based on your preferences.
Romanize text
Romanization converts non-Latin script to Latin script. The Latin script is
based on the pronunciation of the source language. For example,
Cloud Translation romanizes the following Japanese characters こんにちは世界
into Kon'nichiwa sekai.
Before you can start using the Cloud Translation API, you must have a project that has
the Cloud Translation API enabled, and you must have the appropriate credentials. You can
also install client libraries for common programming languages to help you make
calls to the API. For more information, see the Setup page.
Romanize text
REST
Use the
romanizeText
method to convert non-Latin script into Latin script.
Before using any of the request data,
make the following replacements:
PROJECT_NUMBER_OR_ID: the numeric or alphanumeric ID of your Google Cloud project
LOCATION: Region where you want to run this operation. For
example, us-central1.
SOURCE_LANGUAGE: The language code of the source text.
SOURCE_TEXT: Text in the source language to romanize.
HTTP method and URL:
POST https://translation.googleapis.com/v3/projects/PROJECT_NUMBER_OR_ID/locations/LOCATION:romanizeText
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-30 UTC."],[],[]]