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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser does not add as many translations as it says it did #498
Comments
@Heldenkrieger01 Can you provide me with a reproduceable example? |
I happen to have the same issue on large codebase. The output says that 3448 keys where found but in the output file, there are only 459 items.
I tried to reproduce on a new repo but so far I could not reproduce as there are not that much keys. |
After bisecting the latest commits, I found out the issue started at 44e44a49989ddbae76c15c0967552ae3b41fb9e9 |
So as a workaround, I currently use a pinned commit version of i18next-parser by setting |
Another workaround here is to keep version 4.7.0 of i18next-parser (which exports all keys as expected) and convert the v3 format output to v4 format using i18next-v4-format-converter |
Could you provide me with a reproducible project? This seems to be a severe bug and I will happily tackle it |
@karellm I will try to create a reproduction project. Our project is a private app with 3k+ files and on a small CRA project, I could not reproduce it with the small amount of code there. |
This is fixed in |
馃悰 Bug Report
When running the parser in debug mode, it tells you, how many unique keys it has found and how many new keys it added.
In my project, the parser says it has added 249 keys, but in reality only 227 get written to the output file. This is frustrating, since it seems to pick the translation up, but not actually writing them...
To Reproduce
Multiple files are affected, they contain translation keys like all other files.
I cannot see a pattern.
Expected behavior
All keys are actually added to the output file.
Your Environment
The text was updated successfully, but these errors were encountered: