transdoc_to <- function(to = "default") {
if (identical(to, "default")) {
return(getOption("transdoc_to", "en"))
}
nm <- names(language)
to <- match.arg(to, c(nm, language))
if (to %in% nm) language[to] else to
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.