Google Translate Formula

How to Create a Google Sheet that Translate Languages

I do a lot of QA work for emails in different languages and for a long time I would copy the text, go to the Google Translate website and paste it one by one to get my translations. This was a very tedious process and luckily I found there is a better way; the Google translate formula in Google Sheets.

Try it for yourself

Google Translate Formula

The formula is simple:

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

Find an empty cell and type =GOOGLETRANSLATE. Google Sheets will populate the rest of the formula. Start by adding the cell that contains the copy you want to translate (cell C2 above) followed by a comma, then the 2 letter language code of the language the copy is currently in inside double quotation marks, followed by comma and the two letter language code of the language you want to translate to inside double quotation marks. You can use the table below to find the two letter language code for each language.

 In the example above, I am translating the copy from cell C2 from English to Spanish. If I wanted to translate copy from Spanish to English I would simply change the formula to: =GOOGLETRANSLATE(C2,”es”,”en”)

Detect Language Formula

There is another formula you can use if you don’t know what language is currently being used:

=DETECTLANGUAGE(A2)

This is straightforward. Just type =DETECTLANGUAGE and the cell with the copy you want to identify in parentheses and it will return the 2 letter code from the table below.

Watch the full video below and you can access the exercise file I use in the video and make a copy to your drive to try it for yourself.

2 Letter Language Codes for Google Sheets

2 Letter Language CodeLanguage
AFAfrikaans
SQAlbanian
AMAmharic
ARArabic
HYArmenian
AZAzerbaijani
EUBasque
BNBengali, Bangla
BGBulgarian
MYBurmese
BEByelorussian
KMCambodian
CACatalan
ZHChinese
COCorsican
HRCroatian
CSCzech
DADanish
NLDutch
ENEnglish, American
EOEsperanto
ETEstonian
FIFinnish
FRFrench
FYFrisian
GDGaelic (Scots Gaelic)
GLGalician
KAGeorgian
DEGerman
ELGreek
GUGujarati
HAHausa
IWHebrew
HIHindi
HUHungarian
ISIcelandic
INIndonesian
GAIrish
ITItalian
JAJapanese
JWJavanese
KNKannada
KKKazakh
KYKirghiz
KOKorean
KUKurdish
LOLaothian
LALatin
LVLatvian, Lettish
LTLithuanian
MKMacedonian
MGMalagasy
MSMalay
MLMalayalam
MTMaltese
MIMaori
MRMarathi
MOMoldavian
MNMongolian
NENepali
NONorwegian
PSPashto, Pushto
FAPersian
PLPolish
PTPortuguese
PAPunjabi
RORomanian
RURussian
SMSamoan
SRSerbian
STSesotho
SNShona
SDSindhi
SISinghalese
SKSlovak
SLSlovenian
SOSomali
ESSpanish
SUSudanese
SWSwahili
SVSwedish
TLTagalog
TGTajik
TATamil
TETegulu
THThai
TRTurkish
UKUkrainian
URUrdu
UZUzbek
VIVietnamese
CYWelsh
XHXhosa
JIYiddish
YOYoruba
ZUZulu

Similar Posts

Leave a Reply