npm script to detect missing translations
See original GitHub issueIt would be nice to have npm script, something like npm run missing
that would list all the missing translations for all the file (e.g. those, that are missing key that is present in selectors.json, or are null). Bonus points for having options to scope it down to a language, i.e.: npm run missing sv
to list only missing from sv && option to insert keys missing into the file, i.e.: npm run missing sv --save
or similar.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
i18n-cleaner - npm
i18n Cleaner. Checks for missing translations in your source code, and unused translations in your locale JSON files.
Read more >mxmvshnvsk/i18n-unused - GitHub
The static analyze tool for finding, marking and removing unused and missing i18n translations in your JavaScript project - GitHub - mxmvshnvsk/i18n-unused: ...
Read more >Using puppeteer to find missing translations - LinkedIn
simple views are rendered by node with translations provided by polyglot. – components that are interactive are using Vue.js with ...
Read more >npm:ngx-translate-check - Skypack.dev
ngx-translate-check. CLI to test an Angular project using ngx-translate to find missing and unused i18n strings.
Read more >i18n-js - npm Package Health Analysis - Snyk
Looks like i18n-js is missing a security policy. ... Check your package.json ... lang.fallbacks = true; lang.translations = translations; // Init Redux ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sudodoki I think this can be closed. If I am understanding the documentation correctly “npm run generate-untranslated-lang” will generate the list of missing translations.
@sudodoki i can do that bro … i scrape all language in the google translate and i compare that with all files names in the language folder then i will return the list of all language missing …