i18next-static-analysis
v0.0.2
Published
Parses your javascript file and attempt to find call to i18next to validate them
Downloads
2,294
Readme
i18next-static-analysis
Attempts to analyse statically your code to find calls to i18next and validates them for all your supported languages.
Provide the i18next instance and the path to your source file and wait for the report.
Uses babel for all parsing and traversing of your code so it supports everything it does.
Installation
$ npm install i18next-static-analysisUsage
- Todo
Known issues
- Supports only literal values in
i18nexttranslate call. - No support for options in translation
babeloptions not passed to the parser
