Description of problem: I have checked out Installation Guide for RHEL6 (from https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide) and tried to update the pot with "publican update_pot" command. It did create POT files, but noticed that there are many files with no messages for translation while there are messages in English XML files for it. e.g. compare below * POT file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/pot/X86_Uninstall-Windows-bootloader-para-1.pot * English file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/en-US/X86_Uninstall-Windows-bootloader-para-1.xml * POT file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/pot/X86_Uninstall-Windows-bootloader-para-2.pot * English file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/en-US/X86_Uninstall-Windows-bootloader-para-2.xml * POT file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/pot/X86_Uninstall-Windows-bootloader-para-3.pot * English file - https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/Installation_Guide/en-US/X86_Uninstall-Windows-bootloader-para-3.xml There is a long list of such files. Version-Release number of selected component (if applicable): [ankit@ankit Installation_Guide]$ publican -v version=1.3 [ankit@ankit Installation_Guide]$ rpm -q publican publican-1.3-0.el5 [ankit@ankit Installation_Guide]$ cat /etc/redhat-release Red Hat Enterprise Linux Client release 5.4 (Tikanga) [ankit@ankit Installation_Guide]$ How reproducible: Everytime Steps to Reproduce: 1. Check out RHEL6 Installation Guide 2. Run "publican update_pot" 3. And observe the POT files Actual results: You will notice many of the POT files have no message marked for translation Expected results: POT file should have messages for translation Additional info:
This only appears to happen when the root node of an XML file is <para> or <title>.
Changed logic in message parsing code to process root XML nodes. workaround: stop breaking things down so tiny Mr Landmann ;)
(In reply to comment #2) > Changed logic in message parsing code to process root XML nodes. > > workaround: stop breaking things down so tiny Mr Landmann ;) Thanks for solving the issue Jeff. Could you please let's know when the new version (1.4) is out? Thanks! Ankit
publican-1.4-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.4-1.fc12
publican-1.4-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/publican-1.4-1.fc11
publican-1.4-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.5-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.5-0.fc12
publican-1.5-0.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/publican-1.5-0.fc13
publican-1.5-0.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/publican-1.5-0.fc11
publican-1.5-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.5-0.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.