Text Element Translation • Switchboard Canvas

Help 2 minutes

Easily translate any Text element into 70 languages on the Agency and Enterprise plan. Create multi-lingual multi-resolution images in one API call.

Switchboard Canvas allows text elements to be dynamically translated on the fly, using the API.

Users on the Agency and Enterprise plans can translate text in Text elements in 70+ languages.

To translate text, use the translateTo property when overriding any Text element. This example translates a text field called quote to German:

{
template: "custom-quote",
sizes: [
{
width: 1080,
height: 1080,
elements: {
quote: {
translateTo: "de"
}
}
}
]
}

You can also use the API to generate multiple images with translations into different languages by repeating the sizes elements as necessary.

{
template: "custom-quote",
sizes: [
{
width: 1080,
height: 1080,
elements: {
quote: {
translateTo: "de"
}
}
},
{
width: 1080,
height: 1080,
elements: {
quote: {
translateTo: "fr"
}
}
}
]
}

This would produce two images, both sizes at 1080x1080, but one whose quote text is translated into German and the other into French.

Supported Languages

Switchboard Canvas supports translation into 70 languages:

LanguageLanguage Code
Afrikaansaf
Albaniansq
Amharicam
Arabicar
Armenianhy
Azerbaijaniaz
Bengalibn
Bosnianbs
Bulgarianbg
Catalanca
Chinese (Simplified)zh
Chinese (Traditional)zh-TW
Croatianhr
Czechcs
Danishda
Darifa-AF
Dutchnl
Englishen
Estonianet
Farsi (Persian)fa
Filipino Tagalogtl
Finnishfi
Frenchfr
French (Canada)fr-CA
Georgianka
Germande
Greekel
Gujaratigu
Haitian Creoleht
Hausaha
Hebrewhe
Hindihi
Hungarianhu
Icelandicis
Indonesianid
Italianit
Japaneseja
Kannadakn
Kazakhkk
Koreanko
Latvianlv
Lithuanianlt
Macedonianmk
Malayms
Malayalamml
Maltesemt
Mongolianmn
Norwegianno
Persianfa
Pashtops
Polishpl
Portuguesept
Romanianro
Russianru
Serbiansr
Sinhalasi
Slovaksk
Sloveniansl
Somaliso
Spanishes
Spanish (Mexico)es-MX
Swahilisw
Swedishsv
Tagalogtl
Tamilta
Telugute
Thaith
Turkishtr
Ukrainianuk
Urduur
Uzbekuz
Vietnamesevi
Welshcy

More articles from the blog