Is it possible to change the language of the shiny server? By default, shiny server's language is English, and if you want to switch to another language, is that possible?
Can you please elaborate on what you mean by "shiny server's language is English", what specifically do you need to change to another language? Have in mind that Shiny Apps work with the system's default locale but you can manually change it for your current session to any other locale you need e.g. Sys.setlocale("LC_ALL", "en_US.UTF-8").
Thanks for answering @andresrcs . It's just that I'm having a brief problem, because in Rstudio I get my weekdays in Portuguese, for example, segunda-feira, terça-feira and so on. However, when I deploy this same app in shiny server, then I'm going to test it, my weekdays seem to be in English, for example, Monday, Tuesday.... Have you ever seen something like this? I inserted in the question as it appears for me.
Do you mean deploying to shinyapps.io? This is different than deploying to your own server.
If you are deploying to shinyapps.io, you can change the locale by using Sys.setlocale() (with your desired configuration) at the beginning of your app's code.
However, in the generated site, it still remains the weekdays in the English language . However, if I test the application through RStudio, the weekdays appear in Portuguese. This is weird! Any tips on what I can do to adjust?
I have tried myself and the problem is that the "pt_BR.UTF-8" locale is not installed in Shinyapps.io servers so I think this might need to be addressed by RStudio people.
2021-11-19T21:47:23.333711+00:00 shinyapps[5167359]: OS reports request to set locale to "pt_BR.UTF-8" cannot be honored