Bug 1016421

Summary: Build.PL does not compile .po files and doesn't install resulting .mo files
Product: [Community] Publican Reporter: Raphaël Hertzog <raphael>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: aigao, 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:25 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 Raphaël Hertzog 2013-10-08 07:12:03 UTC
Install Publican using "perl Build.pl install". See that it doesn't install anything under /usr/share/locale/*/LC_MESSAGES and this even if Publican provides many .po files in po/*.po.

Those .po files should be compiled into .mo files and the resulting .mo files should be installed in the corresponding /usr/share/locale/<lang>/LC_MESSAGES/publican.mo files.

Those PO files are required to localize Publican't user interface but apparently also some parts of the generated documents when you use wkhtmltopdf (at least according to the bug report I got on the Debian side: http://bugs.debian.org/724855 )

Comment 2 HSS Product Manager 2013-10-09 00:47:33 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.

Comment 3 Jeff Fearn 🐞 2013-10-09 01:24:02 UTC
Modified Build.PL, added Locale::Msgfmt dep to merge po->mo.

To ssh://git.fedorahosted.org/git/publican.git
   b2a2925..5624ad5  HEAD -> devel

Comment 4 Ruediger Landmann 2013-10-11 00:27:36 UTC
.mo files get built and added by publican-3.9.9-0.fc19.t4.noarch


$ find /usr/share/locale/ -name publican.mo
/usr/share/locale/pt/LC_MESSAGES/publican.mo
/usr/share/locale/as/LC_MESSAGES/publican.mo
/usr/share/locale/cs/LC_MESSAGES/publican.mo
/usr/share/locale/ia/LC_MESSAGES/publican.mo
/usr/share/locale/pa/LC_MESSAGES/publican.mo
/usr/share/locale/lv/LC_MESSAGES/publican.mo
/usr/share/locale/ko/LC_MESSAGES/publican.mo
/usr/share/locale/he/LC_MESSAGES/publican.mo
/usr/share/locale/id/LC_MESSAGES/publican.mo
/usr/share/locale/nb/LC_MESSAGES/publican.mo
/usr/share/locale/si/LC_MESSAGES/publican.mo
/usr/share/locale/sr/LC_MESSAGES/publican.mo
/usr/share/locale/hu/LC_MESSAGES/publican.mo
/usr/share/locale/bn_IN/LC_MESSAGES/publican.mo
/usr/share/locale/sk/LC_MESSAGES/publican.mo
/usr/share/locale/da/LC_MESSAGES/publican.mo
/usr/share/locale/pl/LC_MESSAGES/publican.mo
/usr/share/locale/ml/LC_MESSAGES/publican.mo
/usr/share/locale/th/LC_MESSAGES/publican.mo
/usr/share/locale/hi/LC_MESSAGES/publican.mo
/usr/share/locale/ar/LC_MESSAGES/publican.mo
/usr/share/locale/sv/LC_MESSAGES/publican.mo
/usr/share/locale/ast/LC_MESSAGES/publican.mo
/usr/share/locale/zh_TW/LC_MESSAGES/publican.mo
/usr/share/locale/is/LC_MESSAGES/publican.mo
/usr/share/locale/es/LC_MESSAGES/publican.mo
/usr/share/locale/fa/LC_MESSAGES/publican.mo
/usr/share/locale/or/LC_MESSAGES/publican.mo
/usr/share/locale/te/LC_MESSAGES/publican.mo
/usr/share/locale/pt_BR/LC_MESSAGES/publican.mo
/usr/share/locale/el/LC_MESSAGES/publican.mo
/usr/share/locale/hr/LC_MESSAGES/publican.mo
/usr/share/locale/kn/LC_MESSAGES/publican.mo
/usr/share/locale/nl/LC_MESSAGES/publican.mo
/usr/share/locale/de/LC_MESSAGES/publican.mo
/usr/share/locale/bs/LC_MESSAGES/publican.mo
/usr/share/locale/sr@Latn/LC_MESSAGES/publican.mo
/usr/share/locale/ca/LC_MESSAGES/publican.mo
/usr/share/locale/fi/LC_MESSAGES/publican.mo
/usr/share/locale/mr/LC_MESSAGES/publican.mo
/usr/share/locale/it/LC_MESSAGES/publican.mo
/usr/share/locale/ru/LC_MESSAGES/publican.mo
/usr/share/locale/uk/LC_MESSAGES/publican.mo
/usr/share/locale/ja/LC_MESSAGES/publican.mo
/usr/share/locale/gu/LC_MESSAGES/publican.mo
/usr/share/locale/ta/LC_MESSAGES/publican.mo
/usr/share/locale/zh_CN/LC_MESSAGES/publican.mo
/usr/share/locale/fr/LC_MESSAGES/publican.mo
/usr/share/locale/bg/LC_MESSAGES/publican.mo