Skip to main content

Google Sheets GOOGLETRANSLATE Function

 

Google Sheets GOOGLETRANSLATE Function


While there are several similarities between Excel and Google Sheets, the GOOGLETRANSLATE function is a feature that is only available in the latter. Because Google Sheets is web-based and connected to Google's powerful APIs, the GOOGLETRANSLATE function enables you to translate words and phrases in Google Sheets from one language to another. Because this function is powered by the Google Translate technology, it works with any language that Google Translate supports.


Syntax of the GOOGLETRANSLATE Function

=GOOGLETRANSLATE(Text, [From_language, To_language])

  • Text: The text is the only required argument for this function. This is the text that will be translated from one language to another.
  • From_language: This optional argument tells Google Sheets the language of the text argument (before it's translated). You can omit this argument and let Google detect the source language on its own, however this may cause issues if a word looks similar in multiple languages. This argument is specified with a language code from the table below. You can also supply "auto" for this argument, which would be the same as leaving it blank.
  • To_language: This argument - also optional - tells Google Sheets what language to translate the text to. If you omit this argument, the function will translate the text to your computer's system language. This argument is also specified with a language code found in the table below.
Examples with the GOOGLETRANSLATE Function in Google Sheets Here are some examples of the GOOGLETRANSLATE function in action.
ABC
1TEXTFORMULAOUTPUT
2¡Hola!=GOOGLETRANSLATE(A2, "es", "en")Hello!
3これは日本人です!=GOOGLETRANSLATE(A3, "ja", "en")This is Japanese!
4Vertaal is lekker=GOOGLETRANSLATE(A4, "auto", "en")Translating is fun
5Hvernig hefurðu það?=GOOGLETRANSLATE(A5)How are you?

In the first example, we see that the text in cell A2 is written in Spanish, but we want to translate it to English. We use A2 as the first argument, "es" (the language code for Spanish) for the second argument, and "en" (the language code for English) as the third argument.

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

This formula returns a result of "Hello!" in English.

In the second example we see that the text in cell A3 is written in Japanese and we want to translate it to English.

=GOOGLETRANSLATE(A3, "ja", "en")

This formula returns a result of "This is Japanese!" in English.

In the third example, we see some text in cell A4, but we're not sure what language this is. We can supply "auto" as the second argument, so that Google will detect the language on its own.

=GOOGLETRANSLATE(A4, "auto", "en")

This formula detects the language is Afrikaans (we could use the DETECTLANGUAGE function if we need to know which language this is) and returns a result of "Translating is fun" in English in cell C4.

In the fourth and final example we see more fun text in cell A5, but again, we don't know what language this is. We can just leave from_language and to_language blank.

=GOOGLETRANSLATE(A5)

Google will detect the language of the text in cell C5 (Icelandic) and translates it to the system language of the user's computer, which, in this example, happens to be English. This formula returns a result of "How are you?" in English in cell C5. 


Google Translate Language Codes

When using the GOOGLETRANSLATE function in Google Sheets, the language arguments in the formula need to be in the form of the language codes shown in the table below. If you attempt to provide the actual language (e.g. "spanish") as an argument, your formula will return a #VALUE! error. Rather than writing "spanish" for example, you would provide "es" as the language argument.

As of February 2020, Google Translate supports 108 languages, which means that you can use the GOOGLETRANSLATE function to translate text between all of these languages in Google Sheets. See the table below for language codes to use with the GOOGLETRANSLATE function.

Afrikaansaf
Albaniansq
Amharicam
Arabicar
Armenianhy
Azerbaijaniaz
Basqueeu
Belarusianbe
Bengalibn
Bosnianbs
Bulgarianbg
Catalanca
Cebuanoceb
Chinese (Simplified)zh-cn
Chinese (Traditional)zh-tw
Corsicanco
Croatianhr
Czechcs
Danishda
Dutchnl
Englishen
Esperantoeo
Estonianet
Finnishfi
Frenchfr
Frisianfy
Galiciangl
Georgianka
Germande
Greekel
Gujaratigu
Haitian Creoleht
Hausaha
Hawaiianhaw
Hebrewhe or iw
Hindihi
Hmonghmn
Hungarianhu
Icelandicis
Igboig
Indonesianid
Irishga
Italianit
Japaneseja
Javanesejv
Kannadakn
Kazakhkk
Khmerkm
Kinyarwandarw
Koreanko
Kurdishku
Kyrgyzky
Laolo
Latinla
Latvianlv
Lithuanianlt
Luxembourgishlb
Macedonianmk
Malagasymg
Malayms
Malayalamml
Maltesemt
Maorimi
Marathimr
Mongolianmn
Myanmar (Burmese)my
Nepaline
Norwegianno
Nyanja (Chichewa)ny
Odia (Oriya)or
Pashtops
Persianfa
Polishpl
Portuguese (Portugal, Brazil)pt
Punjabipa
Romanianro
Russianru
Samoansm
Scots Gaelicgd
Serbiansr
Sesothost
Shonasn
Sindhisd
Sinhala (Sinhalese)si
Slovaksk
Sloveniansl
Somaliso
Spanishes
Sundanesesu
Swahilisw
Swedishsv
Tagalog (Filipino)tl
Tajiktg
Tamilta
Tatartt
Telugute
Thaith
Turkishtr
Turkmentk
Ukrainianuk
Urduur
Uyghurug
Uzbekuz
Vietnamesevi
Welshcy
Xhosaxh
Yiddishyi
Yorubayo
Zuluzu


Try Practice Problems With GOOGLETRANSLATE

To fully commit this function to memory you need to get some hands on experience. Try some practice problems with the GOOGLETRANSLATE function in our interactive Google Sheets Tutorial now!

Comments

Popular posts from this blog

SBI ATM Card Application Form - State Bank of India

આઝાદ ભારત વડાપ્રધાન અને અંગ્રેજી શાસન અને શાસનનો સમયગાળો

 👌માહિતી એકઠી કરનાર મિત્રને અભિનંદન, એકવાર વાંચો અને દસ લોકોને મોકલો.    1 = 1193 મુહમ્મદ ઘોરી    2 = 1206 કુતુબુદ્દીન ઐબક    3 = 1210 અરમ શાહ    4 = 1211 ઇલતુત્મિશ    5 = 1236 રુકનુદ્દીન ફિરોઝ શાહ    6 = 1236 રઝિયા સુલતાન    7 = 1240 મુઇઝુદ્દીન બહરામ શાહ    8 = 1242 અલ્લાઉદ્દીન મસૂદ શાહ    9 = 1246 નસીરુદ્દીન મેહમૂદ    10 = 1266 ગિયાસુદીન બાલ્બન    11 = 1286 કાઈ ખુશરો    12 = 1287 મુઇઝુદ્દીન કૈકુબાદ    13 = 1290 શામુદ્દીન કોમર્સ           1290 ગુલામ વંશનો અંત    (રાજ્યકાળ - લગભગ 97 વર્ષ)    ખિલજી વંશ    1 = 1290 જલાલુદ્દીન ફિરોઝ ખિલજી    2 = 1296 અલાદ્દીન ખિલજી    4 = 1316 સહાબુદ્દીન ઓમર શાહ    5 = 1316 કુતુબુદ્દીન મુબારક શાહ    6 = 1320 નસીરુદ્દીન ખુસરો શાહ    7 = 1320 ખિલજી વંશનો અંત    (રાજ્યકાળ - લગભગ 30 વર્ષ)    તુગલક વંશ ...

Happy Birthday Wishes In Rajasthani Language

  Happy Birthday Wishes In Rajasthani Language Happy Birthday In Rajasthani Language: मारवाड़ी में जन्मदिन की बधाई, जन्मदिन की घणी घणी बधाई, मारवाड़ी जन्मदिन स्टेटस, राजस्थानी भाषा में जन्मदिन की बधाई, जन्मदिन की ताबड़तोड़ बधाई, राजस्थानी भाषा में शुभकामनाएं, जन्मदिन की शुभकामनाएं मारवाडी में, जन्मदिन की शुभकामनाएं राजस्थानी भाषा में, मारवाड़ी बर्थडे स्टेटस ! Happy Birthday In Marwari, Birthday Wishes In Rajasthani, Birthday Wishes In Marwadi, Happy Birthday In Marwadi. Happy Birthday Wishes In Rajasthani Language मुबारक हो थने थारो जन्मदिन जो मांगे भगवान हु वो हमेशा थने मिले दुखों री कदे काळी रात नी आवे हमेशा खुशियों हो भरियो रेवे आंगन थारो मुबारक हो तुमको यह जन्मदिन तुम्हारा ! मारवाड़ रे मिनख रो ऊ़चो है काम, आखी दुनिया में कमायो नाम, जन्मदिन री बधाई हुं भी देतो पण इं खुशी में फोन हु गियो जाम ! आज रो दिन म्हारे लिए खास है क्युकी आज म्हारे भाईडे रो है जन्मदिन भाईडे इकी खुशी मिले जीती कीनो भी नी मिले ! जिंदगी तेरी अच्छी हो मिले सब से प्यार, मुबारक हो तुझे तेरा जन्मदिन मेरे यार ! Happ...