gilbsgilbs / babel-plugin-i18next-extract

Babel plugin that statically extracts i18next and react-i18next translation keys.
https://i18next-extract.netlify.com
MIT License
161 stars 37 forks source link

Plugin result not showing added/removed keys #158

Open kunjanos opened 4 years ago

kunjanos commented 4 years ago

Is your feature request related to a problem? Please describe.

I have setup the babel-plugin-i18next-extract 0.7.2 and it works fine. I'm using the CLI command to extract translations: yarn run babel -f .babelrc 'src//*.{js,jsx}'** All keys are being extracted correctly, BUT the command is listing ALL the source code that's being parsed, and it's quite annoying that it's NOT showing the keys that are added/removed or things like that. Went through all the docs and couldn't find a way to make the plugin show what has changed in the translated file.

Describe alternatives you've considered

At the moment I switched to i18next-scanner, that does the job and shows the extracted translations, but I really love the comment hints this babel plugin has, so I would like to switch back. Maybe I just missed something?