Last Updated: February 25, 2016
· superboum

Why npm module i18n doesn't work

I had some issue with i18n module, here are some reasons :

  • Double check your path : it's usually set according to your file. Refactor your code to another file, and you must change your path
  • Check if your JSON file is valid: if your JSON file is not valid, i18n will just ignore it without any explanation

Just remind that i18n will not throw error or log anything by default.

Filed Under