widgetLanguage: Widget for language choice

Description Usage Arguments Details Value See Also Examples

View source: R/widgetLanguage.R

Description

For the translations must be PO files provided. Beside creating the widget also the PO file are read and stored internally.

Usage

1
widgetLanguage(inputId, lang = list(), path = NULL)

Arguments

inputId

widget name

lang

selectInput parameter for selecting a language

path

directory where the PO files are found. The default location is the directory where the R the shinyWidgets package stores.

Details

To find the location of the PO files use system.file(package='shinyWidgets')

Value

a widget object (environment)

See Also

selectInput

Examples

1
2
3
4
## Not run: 
 shinyDemo('testLanguage')

## End(Not run)

sigbertklinke/mmstat documentation built on May 14, 2019, 8:36 a.m.