react-gettext
react-gettext copied to clipboard
Change Translations While On Demand
Great little library! One thing I'm not seeing is the ability to change the application translation after initialization. Just want to confirm I'm not missing this.
Thanks, @dcholth!
It is pretty simple, just change translations catalog and plural form for your HOC and it should trigger re-render cycle. See example application: https://github.com/eugene-manuilov/react-gettext/tree/master/examples/poedit
Hope it will help.