Created attachment 406806 [details] article reproducing the problem When building a translation, some paragraphs are left untranslated even if the corresponding PO file has the required translation. You can reproduce the problem with the attached sample (in testpo.tar.gz). When building the english translation (publican build --format=html-desktop --lang=en-US), the first paragraph will not be translated when it clearly should (testpo.po is completely translated and it's up-to-date according to publican update_po). The only unusual aspect of the first string is that the translated string contains a non-breaking space (in "5 MB"). Looking closely to the other occurrence of this problem seems to confirm that all unused strings do contain a non-breaking space.
In case it was not clear the non-breaking space I'm referring to is directly the UTF-8 character and not an entity ( ).
Change white space cleaning code from \s to [\t ], where the space is an ascii space, to avoid replacing special white space.
Confirm that msgstrs that include UTF-8 non-breaking spaces are matched and used correctly in version 1.6.3.t122
publican-1.6.3-0.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13
publican-1.6.3-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update publican'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update publican'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.