This function needs to be included in the UI to create the language switcher in the Shiny app.
1 | langSelectorInput(id, position = "right", width = 80)
|
id |
The id that will be used to access the value. |
position |
String indicating position of language switcher; options are "right" and "fixed"; default = "right". |
width |
Width of language switcher container; default = 80. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.