Smart-Spike / mono

A mono repo for managing multiple projects
0 stars 0 forks source link

i18n support #14

Open anthillape opened 6 years ago

anthillape commented 6 years ago

The support for i18n has not survived the conversion to typescript.

The boilerplate docs state that we should npm run extract-intl or npm run generate language, however these scripts require the i18n.js file to continue to use require and not ESModule syntax. i18n.js lives in out app directory, now as i118n.ts, and is imported into many esmodule files using esmodule syntax on both sides, we need to look at how we can break this relationship up to maintain the integrity of our app in typescript and the functionality of our scripts.