You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are developing a large shiny app that requires multilingual support. An obvious, but perhaps naive, method would be to create all texts server side, say via a lookup table, and use appropriate render functions. An alternative would be to use a client side js library like I18n. However, adding i18n attributes to already existing shiny functions etc. would be quite some work and extra code, which doesn't seem like the right approach. Furthermore, in ggplot2 labels etc. that approach wouldn't work and probably must be done server side.
Could you comment on what would be a fruitful way to approach this in a shiny context?
kind regards, Herman
ps: I'm aware of a previous item by Yihui i.e. (#547) , but in that post there seemed no definite answer yet.
The text was updated successfully, but these errors were encountered:
It seems shiny.i18n is the best bet at the moment. I added an issue requesting support for gettext Appsilon/shiny.i18n#15 as per the link in @yihui's comment.
Hi,
we are developing a large shiny app that requires multilingual support. An obvious, but perhaps naive, method would be to create all texts server side, say via a lookup table, and use appropriate render functions. An alternative would be to use a client side js library like I18n. However, adding i18n attributes to already existing shiny functions etc. would be quite some work and extra code, which doesn't seem like the right approach. Furthermore, in ggplot2 labels etc. that approach wouldn't work and probably must be done server side.
Could you comment on what would be a fruitful way to approach this in a shiny context?
kind regards, Herman
ps: I'm aware of a previous item by Yihui i.e. (#547) , but in that post there seemed no definite answer yet.
The text was updated successfully, but these errors were encountered: