Google Translate Api Language Codes Jun 2026

There are two primary ways to use these codes within the Google Cloud Translation API: specifying them explicitly or utilizing automatic detection.

]

Most developers will recognize these codes immediately as they follow the standard. This standard assigns two-letter codes to major world languages. However, the Google Translate API implementation is more nuanced than a simple ISO list. It encompasses standard codes, regional dialects, and specific codes for languages that do not fit the two-letter mold. google translate api language codes

This tells the API to use your custom engine rather than the generic Google Translate engine.

Whether you are using the Basic edition (v2) or the Advanced edition (v3), every translation request requires specific source and target language codes. Using the wrong code (e.g., zh-CN vs. zh-TW ) can break your user interface or deliver culturally inappropriate content. There are two primary ways to use these

| Language | API Code | Native Name | | :--- | :--- | :--- | | English | en | English | | Spanish | es | Español | | French | fr | Français | | German | de | Deutsch | | Chinese (Simplified) | zh-CN or zh | 简体中文 | | Chinese (Traditional) | zh-TW | 繁體中文 | | Japanese | ja | 日本語 | | Korean | ko | 한국어 | | Arabic | ar | العربية | | Russian | ru | Русский | | Portuguese (Brazil) | pt-BR | Português | | Portuguese (Europe) | pt-PT | Português | | Italian | it | Italiano | | Dutch | nl | Nederlands | | Hindi | hi | हिन्दी |

Provide users with a complete, searchable reference of language codes supported by Google Translate API for integration into applications, localization workflows, or translation tools. However, the Google Translate API implementation is more

This article provides the definitive list of Google Translate API language codes, explains the difference between language scripts, and offers best practices for developers.