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

Bug: Array Duplication in Repeated Translations #79

Open
fadkeabhi opened this issue Oct 25, 2024 · 0 comments
Open

Bug: Array Duplication in Repeated Translations #79

fadkeabhi opened this issue Oct 25, 2024 · 0 comments

Comments

@fadkeabhi
Copy link
Contributor

Description

When translating a file containing an array structure multiple times, the array size increases in the translated output file instead of maintaining the original structure or skipping already translated elements.

Steps to Reproduce

  1. Create an input file with an array structure
  2. Perform initial translation
  3. Run translation again on the same file

Current Behavior

The array elements are duplicated in the output file with each subsequent translation, leading to unwanted array growth.

Related Information

Related to PR #68 (feat: skip already translated keys)
I found and fixed this array duplication issue. I'll be submitting a PR with this fix shortly.

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