Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 65507

Summary: plonetranslations is installed in wrong directory
Product: Gentoo Linux Reporter: John Herdy <johnherdy>
Component: New packagesAssignee: net-zope (OBSOLETE) <net-zope+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Herdy 2004-09-27 02:35:23 UTC
plonetranslations (version 0.5) is installed in /usr/share/zproduct/plonetranslations-0.5/PloneTranslations/i18n

After activating plonetranslations with zprod-manager files are copied to /var/lib/zope/zope/Products/PloneTranslations/i18n

Plone 2.0 and higher expect translations in /var/lib/zope/zope/Products/CMFPlone/i18n and therefor can't find the po-files.
Comment 1 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-09-27 03:23:27 UTC
batlogg, as our i18n guru :) could You please confirm it?

solutions:

1) modify plonetranslations ebuild to copy at pkg_postinst stage: 
"cp /usr/share/zproduct/plonetranslations-0.5/PloneTranslations/i18n/* /usr/share/zproduct/plone-XYZ/CMFPlone/i18n"

2) patch plone translations ebuild to do it ONLY in default instance direcotry (after zprod-manager add) and inform user about it

what You think?
Comment 2 Jodok Batlogg (RETIRED) gentoo-dev 2004-09-27 03:27:18 UTC
plonetranslations should install fine. the directories are correct. in the next plone version. can't confirm this bug, but will check
Comment 3 Jodok Batlogg (RETIRED) gentoo-dev 2004-10-05 13:59:08 UTC
reopen if there are problems with plonetranslations. i can't confirm it.