Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] add script to find missing translations in a locale #2269

Closed
n-riesco opened this issue Jan 19, 2018 · 3 comments
Closed

[request] add script to find missing translations in a locale #2269

n-riesco opened this issue Jan 19, 2018 · 3 comments

Comments

@n-riesco
Copy link
Contributor

What I have in mind is:

  • build a list of strings to translate by running grep under srcto find occurrances of _(gd, 'a string to translate')
  • load a locale, e.g. lib/locales/es.js, and find any missing strings in exports.dictionary.
@alexcjohnson
Copy link
Collaborator

Good call @n-riesco - the first part we have (npm run find-strings, it's part of the build process too, so translation-keys.txt is updated with every new release) but we don't have a way to compare that to existing translations and see what's missing, that would be really nice to have.

@alexcjohnson
Copy link
Collaborator

As shown in #4612 we also have some incorrect keys - that's something we can include a CI test for, since we'll generally either be able to figure out the right key or we can just delete it. Missing keys though we won't generally be able to fix without a native speaker to help, so that's probably not a good idea to run on CI.

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants