View source: R/tw_language_settings.R
tw_set_language | R Documentation |
Defaults to "en".
tw_set_language(language = NULL)
tw_get_language(language = NULL)
language |
A character vector of length one, with a string of two letters such as "en". For a full list of available values, see: https://www.wikidata.org/wiki/Help:Wikimedia_language_codes/lists/all |
A two letter code for the language, if previously set; the same language as given to the function; or the default, en
is none is given.
if (interactive()) {
tw_set_language(language = "en")
}
tw_get_language()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.