This check list is compiled after I have investigated different libraries for internationalization for react
This list is to evaluate an internationalization library from multiple aspects when trying to fit into a web project. The details are as below
- Getting started, documentations, the minimal setup to use the library
- Message format, how does the messages look like for different languages.
- How to add/load resources, in many cases we probably want to add resources by modules instead of adding everything at one place
- How well the library supports typescript
- How to load resources on demand, in large projects it is important to be able to load resources when it is needed only. Resources here are language specific files.
- How well the library supports monorepo, in monorepo we probably want to load resources when the packages are used as on demand and we also want to share resources between packages