Bug 643275 - translations of <indexterm>s are not always used
Summary: translations of <indexterm>s are not always used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-15 06:43 UTC by Ruediger Landmann
Modified: 2010-11-24 04:16 UTC (History)
4 users (show)

Fixed In Version: publican-2.3-0.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 22:48:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Ruediger Landmann 2010-10-15 06:43:48 UTC
Description of problem:
When building a translated document that contains <indexterm>s, the translations of the <indexterm>s in the PO files are not used, so entries appear in the Index in English.

Version-Release number of selected component (if applicable):
2.2

How reproducible:
Not sure -- noticed in Red Hat brand package; different books seem to produce different results.

Steps to Reproduce:
1. Check out the source for the Red Hat brand: svn co http://svn.fedorahosted.org/svn/publican/trunk/publican-redhat

2. Build the RPM: publican package --binary

3. Look at the Feedback.xml file for any language other than English
  
Actual results:
Index terms are in English


Expected results:
Index terms are in the translated language

Comment 1 Jeff Fearn 🐞 2010-10-15 07:06:41 UTC
If an index term was inside a non translatable node, like a section, then it would be skipped during the message merge process.

indexterms inside other translatable nodes, or indexterms that were root nodes, would not be skipped.

Fixed message merge code to detect indexterm inside untranslated nodes.

Fixed in build: 2.2-0%{?dist}.t28

Comment 2 Ruediger Landmann 2010-10-21 06:05:25 UTC
Thanks Jeff -- verified fix by building Japanese translation of Red Hat Enterprise Linux 6 Installation Guide -- translated indexterms are now used throughout the index.

Verified with Publican 2.2-0.fc13.t40

Comment 3 Fedora Update System 2010-10-26 03:44:54 UTC
publican-2.3-0.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/publican-2.3-0.fc13

Comment 4 Fedora Update System 2010-10-27 22:47:36 UTC
publican-2.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.


Note You need to log in before you can comment on or make changes to this bug.