Open praseodym opened 6 months ago
Discussed with @lkleuver
We introduce a vanilla translate function for now. We leverage a typescript interface to check at transpile time that all translations keys exist and are translated for the set of locales.
We only introduce dependencies (like i18-next) when we encounter necessary features that are not trivial to implement.
Not sure what that will look like, but from a developer point of view I like how Django's translation functionality works. It would be nice if we could make it work similar to that.
Setup of internationalization in the frontend, e.g. using i18next / react-i18next / formatjs.
Other considerations: