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

dry-run mode that is not changing existent files #98

Open
e110c0 opened this issue May 26, 2017 · 1 comment
Open

dry-run mode that is not changing existent files #98

e110c0 opened this issue May 26, 2017 · 1 comment

Comments

@e110c0
Copy link

e110c0 commented May 26, 2017

is there an easy way to make the report but not actually add the missing keys and output something like this:

Duplicate ids:

  No duplicate ids found, great!

Maintaining de.json:

Untranslated keys:
  login-form.input-placeholder: Your E-mail

Maintaining es.json:

Untranslated keys:
  login-form.input-placeholder: Your E-mail
  login-form.submit-button: Log in

That would be convenient if there is a more enhanced way of getting fallback languages or having an external tool for the translations.

It works when I overload most of the hooks and printers, but that's almost completely copying the original code.

@nightpool
Copy link

yeah, I agree that there's lots of situations where I don't want untranslated keys in the source files. We're using Weblate to translate our project, and it marks translations as either present or not present based on their status. Can this functionality be added?

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

2 participants