question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm script to detect missing translations

See original GitHub issue

It 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:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
interannettecommented, Oct 30, 2017

@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.

0reactions
3imed-jabericommented, Jun 2, 2019

@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 …

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found