This function needs to be included in the UI to create the language switcher in the Shiny app.

langSelectorInput(id, position = "right", width = 80)

Arguments

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.