sunfuze / koa-i18next

A middleware to use i18next in koajs.
14 stars 4 forks source link

bug: i18next is init async #8

Open Val-istar-Guo opened 5 years ago

Val-istar-Guo commented 5 years ago
  1. i18next is init async. Is it necessary to ensure that after i18next.init is completed, assign i18next.t to ctx.t?
  2. many koa middleware is never support koa@1 by default. Should we remove option.next and move this to a branch used to support koa@1?
sunfuze commented 5 years ago

do you have idea about this module? I have so long time not to track i18next and koa progress, and now i switch to using golang. If you want to improve this module, you can make an pr. And i will transfer this module to you

Val-istar-Guo commented 5 years ago

I will make a pr after my project has finished testing in my spare time. It may need a month or more.