How do I make use of the "lang" option when using a two file approach?

I'm trying to add a "lang" attribute to the HTML produced by my shiny app that was added by this feature PR -

Added the lang argument to shinyApp() that specifies document-level language within the app for the accessibility of screen readers and search-engine parsers.

However my code is set up using the two file approach (of ui.R and server.R) and I have nowhere in my code that calls shinyApp() - where would I set this option or do I need to restructure my codebase?



Update: in the end I simply had to add tags$html(lang="en"), to the fluidPage()

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.