Created attachment 1418126 [details] Fix fuzzy handling Description of problem: When running 'zanata pull' to update all the .po files for a project at once, a huge number of incorrect "fuzzy" annotations are being added to the generated .po files. If you run "zanata pull --lang $LANG" for a single language at a time, the generated .po file is correct, with no bogus "fuzzy" annotations. Essentially when "zanata pull" processes multiple languages, the "fuzzy" annotations for each language are accumulated into all subsequent languages. So the first language downloaded is correct, the second language has all the fuzzy annotations of the first language mistakenly added. The last language downloaded has all the fuzzy annotations of every single previous language. When .po file are used to generate the binary .gmo files, all msgids marked fuzzy will be discarded. So the net effect of this bug is that potentially huge numbers of translations are being lost. In the libvirt project, we've identified 16,000 translations incorrectly marked as fuzzy. Any project that's currently using the zanata client will need to re-download their translations either: 1) using zanata client after applying the patch on this bug 2) using unpatched zanata client, with "--lang $LANG" to download one language at time only, in a loop 3) using the zanata-cli Java client Version-Release number of selected component (if applicable): zanata-python-client-1.5.1-3.fc27.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Patch proposed upstream in: https://github.com/zanata/zanata-python-client/pull/51
zanata-python-client-1.5.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ee25309139
zanata-python-client-1.5.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c5ad60747e
zanata-python-client-1.5.2-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-5076e89a09
zanata-python-client-1.5.2-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ee25309139
zanata-python-client-1.5.2-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-5076e89a09
zanata-python-client-1.5.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c5ad60747e
zanata-python-client-1.5.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.5.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.