My question is rather simple. I am building a Shiny application where the user can switch between predefined languages with a button. However I would like to start each session with the user's language already displayed in the text, so is there a way to retrieve the language defined in the browser or operating system of the user, like as a function that returns a character variable?
I saw that there were many questions about this subject already on this site, but there are for other computing languages than R/Shiny and I have no idea how to adapt them to R. Thanks