Experience-Monks / nyg-jam3

Second generation of the Jam3 Generator, many new features and breaking change features
https://generator.jam3.net
MIT License
11 stars 4 forks source link

Centralized copy / multi-language files #172

Open PeterAltamirano opened 6 years ago

PeterAltamirano commented 6 years ago

Can we add centralized solution for copy not hard code it into components? lang.json and also consider multi language approach + react static integration,

wongbsn commented 5 years ago

https://github.com/yahoo/react-intl

neo commented 5 years ago

🤔 https://angular.io/guide/i18n

wongbsn commented 5 years ago

https://github.com/tryggvigy/pseudo-localization

alemesa commented 5 years ago

https://github.com/i18next/react-i18next

namniak commented 5 years ago

react-i18next is meant to work with Context API but we still use redux. I guess we need to either research react+redux i18n solution or do a custom implementation

namniak commented 5 years ago

here's a working prototype with react-i18next with redux https://github.com/Jam3/nyg-jam3/tree/feature/central-copy-localization