Bug 889031

Summary: [FJ] Website should indicate whether a translation is older than the doc in the source language
Product: [Community] Publican Reporter: Ruediger Landmann <rlandman>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.0CC: aigao, rlandman+disabled, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 02:46:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ruediger Landmann 2012-12-20 04:03:37 UTC
Description of problem:
When a document has not been translated into a particular language, the menus of a Publican-generated website in that language point to the document in its source language and mark it as untranslated. However, documents that *have* been translated might not be up-to-date with the source language, perhaps significantly so. 

The menus should indicate when a translated document is based on a version of the source document older than the one currently on the site.

Comment 2 Jeff Fearn 🐞 2013-07-17 11:48:48 UTC
This requires a database change as the DB does not currently contain this information.

Something like these might help:
http://search.cpan.org/~daniel/DBIx-Migration-0.07/lib/DBIx/Migration.pm
http://search.cpan.org/~crakrjack/DBIx-Migration-Directories-0.11/lib/DBIx/Migration/Directories.pod

Comment 3 HSS Product Manager 2013-09-18 05:29:08 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.

Comment 4 Jeff Fearn 🐞 2013-09-19 07:42:45 UTC
Initial code changes done and checked in, need to agree on wording, layout, and exactly which labels will get modified.

Comment 5 Jeff Fearn 🐞 2013-09-27 00:52:28 UTC
Code, pot & po updates, and initial style checked in. Translations will need to be synced with Zanata.

Comment 6 Ruediger Landmann 2013-10-23 13:38:46 UTC
Doesn't work in publican-3.9.9-0.fc19.t18.noarch -- I installed the RHEL Power Management Guide:

* version 1.0-25 in English
* version 1.0-23.1 in Japanese

No annotation appeared on the Japanese page

Comment 7 Jeff Fearn 🐞 2013-10-24 00:34:15 UTC
(In reply to Ruediger Landmann from comment #6)
> Doesn't work in publican-3.9.9-0.fc19.t18.noarch -- I installed the RHEL
> Power Management Guide:
> 
> * version 1.0-25 in English
> * version 1.0-23.1 in Japanese
> 
> No annotation appeared on the Japanese page

Moar information. Links to site displaying issue. Links to builds.

Comment 9 Jeff Fearn 🐞 2013-10-24 03:52:25 UTC
Did you build these from the original sources or from tarballs created from previous releases?

Comment 10 Ruediger Landmann 2013-10-24 19:51:38 UTC
Tarballs from previous releases; I'll test the other scenario too.

Comment 11 Ruediger Landmann 2013-10-25 02:52:13 UTC
Verified that this feature works in publican-3.9.9-0.fc19.t18.noarch as expected with packages built from source (rather than repackaged)