Google Translate

“Personal”
1 domain
“Professional”
5 domains
“Agency”
25 domains

$24.99

$49.99

$99.99

Buying the extension gives you a license for 1 year (renewable every year), that includes support and access to all extension updates. Prices are in USD.

🛍️ Buy “Google Translate” Extension


Directive @strTranslate to translate a field value to over 100 languages using the Google Translate API.

Description permalink

Add directive @strTranslate to any field of type String, to translate it to the desired language.

For instance, this query translates the post's title and excerpt fields from English to French:

{
posts {
enTitle: title
frTitle: title @strTranslate(from: "en", to: "fr")

enExcerpt: excerpt
frExcerpt: excerpt @strTranslate(from: "en", to: "fr")
}
}

...producing:

{
"data": {
"posts": [
{
"enTitle": "Welcome to a single post full of blocks!",
"frTitle": "Bienvenue dans un poste unique plein de blocs !",
"enExcerpt": "When I look back on my past and think how much time I wasted on nothing, how much time has been lost in futilities, errors, laziness, incapacity to live; how little I appreciated it, how many times I sinned against my heart and soul-then my heart bleeds. Life is a gift, life is happiness, every…",
"frExcerpt": "Quand je repense à mon passé et que je pense au temps que j'ai perdu pour rien, au temps perdu en futilités, en erreurs, en paresse, en incapacité de vivre ; combien je l'ai peu apprécié, combien de fois j'ai péché contre mon cœur et mon âme, alors mon cœur saigne. La vie est un cadeau, la vie est un bonheur, chaque…"
},
{
"enTitle": "Explaining the privacy policy",
"frTitle": "Expliquer la politique de confidentialité",
"enExcerpt": "Our privacy policy is at https://gato-graphql-pro.lndo.site/privacy/, and we are based in Carimano.",
"frExcerpt": "Notre politique de confidentialité se trouve sur https://gato-graphql-pro.lndo.site/privacy/, et nous sommes basés à Carimano."
},
{
"enTitle": "HTTP caching improves performance",
"frTitle": "La mise en cache HTTP améliore les performances",
"enExcerpt": "Categories Block Latest Posts Block Did you know? We are not rich by what we possess but by what we can do without. Patience is the strength of the weak, impatience is the weakness of the strong.",
"frExcerpt": "Catégories Bloquer les derniers messages Bloquer Le saviez-vous ? Nous ne sommes pas riches de ce que nous possédons mais de ce dont nous pouvons nous passer. La patience est la force du faible, l'impatience est la faiblesse du fort."
}
]
}
}

List of languages permalink

You can translate your content to any of the following languages:

CodeLanguage
afAfrikaans
sqAlbanian
amAmharic
arArabic
hyArmenian
azAzerbaijani
euBasque
beBelarusian
bnBengali
bsBosnian
bgBulgarian
caCatalan
zhChinese (Simplified)
zh-TWChinese (Traditional)
coCorsican
hrCroatian
csCzech
daDanish
nlDutch
enEnglish
eoEsperanto
etEstonian
fiFinnish
frFrench
fyFrisian
glGalician
kaGeorgian
deGerman
elGreek
guGujarati
htHaitian Creole
haHausa
heHebrew
hiHindi
huHungarian
isIcelandic
igIgbo
idIndonesian
gaIrish
itItalian
jaJapanese
jvJavanese
knKannada
kkKazakh
kmKhmer
rwKinyarwanda
koKorean
kuKurdish
kyKyrgyz
loLao
laLatin
lvLatvian
ltLithuanian
lbLuxembourgish
mkMacedonian
mgMalagasy
msMalay
mlMalayalam
mtMaltese
miMaori
mrMarathi
mnMongolian
myMyanmar (Burmese)
neNepali
noNorwegian
nyNyanja (Chichewa)
orOdia (Oriya)
psPashto
faPersian
plPolish
ptPortuguese (Portugal, Brazil)
paPunjabi
roRomanian
ruRussian
smSamoan
gdScots Gaelic
srSerbian
stSesotho
snShona
sdSindhi
siSinhala (Sinhalese)
skSlovak
slSlovenian
soSomali
esSpanish
suSundanese
swSwahili
svSwedish
tlTagalog (Filipino)
tgTajik
taTamil
ttTatar
teTelugu
thThai
trTurkish
tkTurkmen
ukUkrainian
urUrdu
ugUyghur
uzUzbek
viVietnamese
cyWelsh
xhXhosa
yiYiddish
yoYoruba
zuZulu

Bundles including extension permalink

Recipes using extension permalink


🛍️ Buy “Google Translate” Extension