Description of problem: I had modified zanata.xml as attached to pick up some missing locales for gettext-based project. but "zanata po pull" says no translation. Version-Release number of selected component (if applicable): zanata-python-client-1.3.1-1.fc15.noarch How reproducible: always Steps to Reproduce: 1.check out imsettings POs from zanata with the attached zanata.xml 2. 3. Actual results: You can see the kind of logs from zanata like: Retrieving zh_CN translation from server: There is no zh_CN translation for imsettings Expected results: should pick up as expected to "map-from=" in zanata.xml Additional info: after that, I can see: Writing po file to /home/tagoh/work/repo/imsettings/po/zh_CN.po and it breaks the zh_CN.po with what it was success last time. I'll file a bug as a separate bug.
Created attachment 548515 [details] zanata.xml I forgot to attach the file.
I can see no zh-Hans-CN translations on the server for imsettings, so it looks like this bug is about breaking existing po files when there are no matching translations on the server, possibly only for mapped locales. If so this is a duplicate of 768877
I intentionally filed both as a separate bug because I'm focusing on this that the python client seems not dealing with the "map-from=" in zanata.xml properly. given that Bug#768877 is fixed, I don't think the python client is working back for "map-from=" with that fix.
*** This bug has been marked as a duplicate of bug 768877 ***
Actually bug 768877 and this bug mention different thing. While 768877 means empty po files should not be pulled, this bug actually means po files need to be pulled and save as map-from, thus split this bug again.
Copy from James comment on Bug 768877: =========================================== Hi, I have make a commit to git-hub for zanata-python-client to fix this issue, if there is no translation, or the locale is not enabled on the server, the client will stop writing. Please check out the latest code for testing. 'map-from' actually works, but the client only display the locale name using on the client side, doesn't output the process of mapping. So do you think we should output more detail info for mapping process? like: Mapping zh_CN to zh-Hans-CN Retrieving zh-Hans-CN translation from server: ============================================ Yes, the output format you are suggesting is good. So please fix it. :-)
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
zanata-python-client-1.3.16-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-1.fc20
zanata-python-client-1.3.16-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-1.fc21
Package zanata-python-client-1.3.16-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zanata-python-client-1.3.16-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11155/zanata-python-client-1.3.16-1.fc21 then log in and leave karma (feedback).
zanata-python-client-1.3.16-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.fc20
zanata-python-client-1.3.16-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.fc21
zanata-python-client-1.3.16-2.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.el7
zanata-python-client-1.3.18-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.fc20
zanata-python-client-1.3.18-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.el7
zanata-python-client-1.3.18-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.fc21
zanata-python-client-1.3.16-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.18-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.18-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.18-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.