Without the updateSelectLangInput function in langSelector (which was removed to temporarily solve the shi18ny/parmesan clash which was blocking modals from shinypanels to open) the translations of text directly in the UI of an app doesn't work, because input$shi18ny_ui_classes isn't created on time by useShi18ny.
There is a workaround for this by adding a shinyjs::delay to the observeEvent in the apps, in which the UI texts are translated (as in code below). This should probably work without the delay function.
Without the
updateSelectLangInput
function inlangSelector
(which was removed to temporarily solve theshi18ny
/parmesan
clash which was blocking modals fromshinypanels
to open) the translations of text directly in theUI
of an app doesn't work, becauseinput$shi18ny_ui_classes
isn't created on time byuseShi18ny
.There is a workaround for this by adding a
shinyjs::delay
to theobserveEvent
in the apps, in which the UI texts are translated (as in code below). This should probably work without the delay function.