Search code examples
rinternationalizationshinymultilingual

R Shiny App internationalization


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)?


Solution

  • 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.