Appsilon / shiny.i18n

Shiny applications internationalization made easy
https://appsilon.github.io/shiny.i18n/
Other
168 stars 38 forks source link

Leave place for arguments in text #42

Open dokato opened 3 years ago

dokato commented 3 years ago

Eg. by adding a new parameter to translate method.

"{} companies use that website"

sth like in gettext

Could use glue for that.

ErdaradunGaztea commented 1 year ago

I can propose using {translated} as a backend that handles localization search; I've written it because I needed string interpolation, plural forms and other features for a Shiny app for a project at TTSI. It's based on glue() of course :)