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

feature request: skip already translated keys #62

Open
johnm1998 opened this issue Jul 30, 2024 · 7 comments
Open

feature request: skip already translated keys #62

johnm1998 opened this issue Jul 30, 2024 · 7 comments

Comments

@johnm1998
Copy link

Provide an option to skip translation of keys if it's already present in output file. This is useful if there are so many keys in the input file and most of them is already translated.

@ParvinEyvazov
Copy link
Member

Hi @johnm1998,

Do you mean it will read the output file generated before and only translate the missing ones? Is that correct?

@johnm1998
Copy link
Author

yes @ParvinEyvazov

@johnm1998
Copy link
Author

I'm requesting this feature for the cli mode. I have many keys in the input files that are already translated to output files. Currently jsontt translates the whole keys again if I add just few more keys in the input file.

@michalpulpan
Copy link

+1 for this, it would be nice to have this option - to either translate all keys or those which are either empty or not present.

@fadkeabhi
Copy link
Contributor

I noticed that this issue has had no recent activity, and I’m interested in working on it. Could you please let me know if you still want this addressed?

@ParvinEyvazov
Copy link
Member

Hi @fadkeabhi,

Feel free to give it a shot! It would be an awesome feature.

@fadkeabhi
Copy link
Contributor

@ParvinEyvazov I have created a PR regarding this issue, take a look at it here. #68

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

4 participants