knitr::opts_chunk$set(echo = TRUE) library(shiny.i18n) i18n <- Translator$new(translation_csvs_path = "../data") i18n$set_translation_language("en")
r i18n$t("Hello Shiny!")
i18n$set_translation_language("it")
r i18n$t("Hello Shiny!")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.