Created attachment 857677 [details] sample xml file Description of problem: publican update_pot command generates a pot file which does not contain full contents. Version-Release number of selected component (if applicable): 4.0 How reproducible: I am not sure. This is the first case I encountered. Steps to Reproduce: 1. Go to a book directory 2. Run "publican update_pot" command 3. Compare the original xml file with the newly generated pot file Actual results: The pot file does not include the full contents Expected results: It should include all the contents. Additional info: sample files attached.
Created attachment 857678 [details] sample pot file
Also, building a translated book ignores msgstrs for the contents of tables, even when available.
Is this a regression from a previous version of Publican?
No, it's a new flaw. Curiously, it doesn't affect <informaltable>s
That is because publican is currently ignoring the "<td>" tag in the table. An easy workaround of this issue is to substitue the "<td>" html tag to "<entry>" tag. E.g. <td>Configuration option=Default value</td> to <entry>Configuration option=Default value</entry> Another solution is to a "<para>" tag inside the "<td>" tag. Such as, <td><para>Configuration option=Default value</para></td> The "<informaltable>"s is not affected because it uses "<para>"s in it. Thanks. Regards Hao
To be more specific, publican does not have any knowledge of the HTML tags included in DocBook. This will have other effects besides not working in translations.
Added TD to translatable block list. To ssh://git.fedorahosted.org/git/publican.git 4335d0c..cea60f9 devel -> devel
A fix for this shipped in Publican 4.1.0.