We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While colorPickr (for instance) has an i18n option, I simply couldn't find the way to translate the actions-box of pickerInput (despite the fact the every necessary translation seem to be available in the file https://github.com/dreamRs/shinyWidgets/blob/ae8dbf2a9d0225eb663f38060e2aad017fe9f900/inst/assets/bootstrap-select-1.14.0-beta2/js/i18n/defaults-hu_HU.js).
colorPickr
i18n
actions-box
pickerInput
The text was updated successfully, but these errors were encountered:
Hello, You can specify custom text through the pickerOptions function:
pickerOptions
library(shiny) library(shinyWidgets) ui <- fluidPage( pickerInput( inputId = "month", label = "Select a month:", choices = month.name, multiple = TRUE, options = pickerOptions( actionsBox = TRUE, selectedTextFormat = "count", noneSelectedText = "Válasszon!", noneResultsText = "Nincs találat {0}", countSelectedText = "{0} elem kiválasztva", maxOptionsText ="Legfeljebb {n} elem választható", selectAllText = "Mind", deselectAllText = "Egyik sem", multipleSeparator = ", " ) ) ) server <- function(input, output, session) { } shinyApp(ui, server)
Sorry, something went wrong.
It works perfectly, thank you very much!
No branches or pull requests
While
colorPickr
(for instance) has ani18n
option, I simply couldn't find the way to translate theactions-box
ofpickerInput
(despite the fact the every necessary translation seem to be available in the file https://github.com/dreamRs/shinyWidgets/blob/ae8dbf2a9d0225eb663f38060e2aad017fe9f900/inst/assets/bootstrap-select-1.14.0-beta2/js/i18n/defaults-hu_HU.js).The text was updated successfully, but these errors were encountered: