Google Translate has become a go-to tool for translating text across various languages. Whether you’re communicating with someone from a different part of the world or building an application that involves translation, knowing the correct language codes can make the process much easier and smoother.

What Are Google Translate Language Codes?

Google Translate uses specific language codes to represent each supported language. These codes are typically based on the ISO 639-1 standard, which is a two-letter code assigned to each language. For instance:

  • English has the code en
  • Spanish has the code es
  • French has the code fr
  • Tamil has the code ta

Google Translate Language Codes

LanguageCode
Afrikaansaf
Albaniansq
Amharicam
Arabicar
Armenianhy
Azerbaijaniaz
Basqueeu
Belarusianbe
Bengalibn
Bosnianbs
Bulgarianbg
Catalanca
Cebuanoceb
Chichewany
Chinese (Simplified)zh-CN
Chinese (Traditional)zh-TW
Corsicanco
Croatianhr
Czechcs
Danishda
Dutchnl
Englishen
Esperantoeo
Estonianet
Filipinotl
Finnishfi
Frenchfr
Galiciangl
Georgianka
Germande
Greekel
Gujaratigu
Haitian Creoleht
Hausaha
Hawaiianhaw
Hebrewhe
Hindihi
Hmonghmn
Hungarianhu
Icelandicis
Igboig
Indonesianid
Irishga
Italianit
Japaneseja
Javanesejv
Kannadakn
Kazakhkk
Khmerkm
Koreanko
Kurdish (Kurmanji)ku
Kyrgyzky
Laolo
Latvianlv
Lithuanianlt
Luxembourgishlb
Macedonianmk
Malagasymg
Malayms
Malayalamml
Maltesemt
Maorimi
Marathimr
Mongolianmn
Nepaline
Norwegianno
Pashtops
Persianfa
Polishpl
Portuguesept
Punjabipa
Romanianro
Russianru
Serbiansr
Sesothost
Sinhalasi
Slovaksk
Sloveniansl
Somaliso
Spanishes
Sundanesesu
Swahilisw
Swedishsv
Tajiktg
Tamilta
Telugute
Thaith
Turkishtr
Ukrainianuk
Urduur
Uzbekuz
Vietnamesevi
Welshcy
Xhosaxh
Yiddishyi
Yorubayo
Zuluzu

These language codes are essential when using Google Translate APIs or integrating translation features into your tools, spreadsheets, or applications.

Using Google Translate Language Codes with Google Sheets

Google Sheets provides a powerful built-in function called GOOGLETRANSLATE, which allows you to quickly translate text directly within your spreadsheet. This function requires two key arguments — the source language code and the target language code.

How to Use GOOGLETRANSLATE in Google Sheets:

  1. Open your Google Sheets document.
  2. In any empty cell, type the following formula: excelCopy=GOOGLETRANSLATE(A1, "en", "es") In this example:
    • A1 refers to the cell containing the text you want to translate.
    • "en" is the language code for English (source language).
    • "es" is the language code for Spanish (target language).

This will translate the text in cell A1 from English to Spanish.

Example:

If cell A1 contains “Hello”, the formula =GOOGLETRANSLATE(A1, "en", "es") will output “Hola” (the Spanish translation of “Hello”).

 157 total views