-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Wrong state of strings imported from CSV with fuzzy="True" #7247
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
I tested a bit more and I feel like I identified a bug, so I updated the issue accordingly. It's no longer a question but it doesn't seem like I can change the label. |
Can you please share a snippet of the CSV file showing at least header and content with the fuzzy strings? |
Sure.
|
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
This might have been addressed already for upcoming 4.11 release (most likely by 784314b). Can you please retry once that is out (later today)? Anyway, the root cause will be wrong string state:
|
Thank you for your report; the issue you have reported has just been fixed.
|
Note: The file will have to be reimported to fix the string states. |
Absolutely, thanks. I also stumbled upon another bug that might be related to this issue: if you download CSV from server, make changes to it in 'target' column, and then upload back with the option "Add suggestions", then it will not do anything, just like with Bulk Edit. I'll make another issue about it if it persists. |
Unfortunately 4.11 didn't fix this issue. I've created sample files to fully reproduce this bug from zero.
French has fuzzy=false, so all non-empty strings are imported as translated, which is ok. Bulk Edit will correctly change the state of strings. German has fuzzy=true, and all strings are unfinished/untranslated. If we go into German > Bulk Edit, set filter to e.g. "has:context" and change state to any state, bulk edit will not update any string. |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
Bulk Edit does not work with strings that were imported from CSV with fuzzy="True". The way of importing doesn't seem to matter, I've encountered this issue when importing from remote VCS and from a ZIP file.
Also these strings are imported as "empty"/"Not translated" instead of "Needs editing" despite having a target string and fuzzy="True". Not sure if it's intended behavior though.
I already tried
Steps to reproduce the behavior
Expected behavior
The state of the strings described in Bulk Edit requests should work properly with strings imported from CSV with fuzzy="True"
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
The text was updated successfully, but these errors were encountered: