How to Create a Google Sheet that Translates Languages

If you work with content in multiple languages, you may find yourself frequently switching to Google Translate. A more efficient way to handle this is by using Google Sheets’ built-in translation formula, which saves time and reduces errors.

Try it for yourself

Google Translate Formula

Use the Google Translate formula in Sheets like this:

=GOOGLETRANSLATE(C2,"en","es")

To use this formula:

For instance, =GOOGLETRANSLATE(C2,"en","es") translates text from English to Spanish. To translate Spanish to English, switch the language codes to =GOOGLETRANSLATE(C2,"es","en").

Detect Language Formula

If you’re unsure of the original language, use the =DETECTLANGUAGE formula:

=DETECTLANGUAGE(A2)

This function identifies the language of the specified cell, returning its two-letter code.

2-Letter Language Codes for Google Sheets

Below is a table of language codes that you can use:

CodeLanguage
AFAfrikaans
SQAlbanian
AMAmharic
ARArabic
HYArmenian
AZAzerbaijani
EUBasque
BNBengali
BSBosnian
BGBulgarian
CACatalan
ZHChinese
HRCroatian
CSCzech
DADanish
NLDutch
ENEnglish
ETEstonian
FIFinnish
FRFrench
DEGerman
ELGreek
GUGujarati
HTHaitian Creole
IWHebrew
HIHindi
HUHungarian
ISIcelandic
IDIndonesian
GAIrish
ITItalian
JAJapanese
JWJavanese
KOKorean
LALatin
LVLatvian
LTLithuanian
MKMacedonian
MSMalay
MLMalayalam
MTMaltese
NONorwegian
FAPersian
PLPolish
PTPortuguese
PAPunjabi
RORomanian
RURussian
SRSerbian
SISinhalese
SKSlovak
SLSlovenian
ESSpanish
SWSwahili
SVSwedish
TATamil
TETelugu
THThai
TRTurkish
UKUkrainian
URUrdu
VIVietnamese
CYWelsh
YIYiddish

Using these codes with the Google Translate function in Sheets can streamline the process of working with multiple languages.