Gets a list of translation directions supported by the service
yandex_supported_languages(yandex_api_key, lang = "en")
yandex API key
Defaults to English ("en")
A list with two data frames The first data frame gives the supported translation directions (all columns are character data types) The second data frame matches language abbreviations with full language name (all columns are character data types) See https://tech.yandex.com/translate/doc/dg/reference/getLangs-docpage/ for more details
1 2 3
supported_languages = yandex_supported_languages(yandex_api_key) available_translations = supported_languages[] abbreviations = supported_languages[]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.