I want to make my R Shiny App multilingual, but I don't know, where to start from. Is there any libraries or Shiny widgets for switching the language in the Shiny App?
More generally, what are the best practices for internationalization in R? Is there any tutorials? I know, there is a gettext command, which comes from GNU gettext, but I'm not very handy with it. Should I read GNU gettext manual first (and what chapters will be enough for beginner)?
I was looking to do the same thing and found this. The creator explains how it works and there is a github repository if you want to use his code in your app.
It works great for me as it's similar to the Zend Framework implementation which I had already used in the past.
The projects I have found attempting to solve this issue:
It seems shiny.i18n is the best bet at the moment. I added an issue requesting support for gettext https://github.com/Appsilon/shiny.i18n/issues/15 as per Translation of R script using gettext
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With