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

a script (or a test) that would highlight all tokens that haven't been translated yet #2

Open
ksaitor opened this issue May 12, 2021 · 1 comment

Comments

@ksaitor
Copy link
Member

ksaitor commented May 12, 2021

We constantly add new tokens to en.js and it might be a challenge for other locales to keep up with the changes.
Hence a script, that translators can run locally to see which tokens don't exist in their language (or in all languages) would be helpful.

Potential solution

  • yarn todo would output a simple list of differences between en and all other locales
  • yarn todo ru would output a simple list of differences between en and ru locales

Could look something like this:

$ yarn todo ru

RU:
   "common.lang": — empty
   "common.footer.helpUsTranslate": — empty
    ...
   "common.benefits": "Benefits" — Same as in EN
@ksaitor
Copy link
Member Author

ksaitor commented Jun 16, 2021

partially implemented. Try yarn test

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

1 participant