00625: PmWiki.UploadQuickReference used instead of PmWikiFr.UploadQuickReference

Summary: PmWiki.UploadQuickReference used instead of PmWikiFr.UploadQuickReference
Created: 2005-12-21 10:42
Status: Closed
Category: Bug
From: EOL
Assigned:
Priority: 52
Version: 2.1 beta 14
OS: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.3.7

Description: The upload.php script should probably have "Site.UploadQuickReference" changed into "PmWiki.UploadQuickReference". At least, something similar to what is done in transition.php for EditQuickReference should be implemented, it seems to me.

Description of the problem:

Despite using XLPage('fr','PmWikiFr.XLPage') in config.php, the upload quick reference remains in English instead of French.

This happens even though "?action=diag" indicates that the translation "[PmWiki.UploadQuickReference] => PmWikiFr.UploadQuickReference" is active under 'fr'.

The quick ref which is displayed in the upload page is Site.UploadQuickReference (as seen with "?action=diag").


The PmWikiFr.XLPage is out of date. The translation in that page should read:

    'Site.UploadQuickReference' => 'PmWikiFr.UploadQuickReference'

At any rate, it's not a PmWiki bug, so I'm closing this issue.


Hm, maybe the issue should be included in the documentation regarding i18n? It may not be an issue with new installs, but migrating from an older version I had to search quite a bit until I found this explanation. For example, it would be nice to have a list of pages thus affected. (Though this ideally would be included in XLPage, I'll have to check that ...) --Henning March 13, 2006, at 01:13 PM


Wait, I checked my XLPage and it does already contain the translation string:

 'Site.UploadQuickReference' => 'PmWikiDe.UploadQuickReference',

analogue to your suggestion:

 'Site.UploadQuickReference' => 'PmWikiFr.UploadQuickReference'

Still, the German page is not shown in my fresh 2.1.0 upgrade, so it seems to be a real bug. I hope it's OK if I re-open the issue? --Henning March 13, 2006, at 01:24 PM


Is this issue still an active issue? I'd like to close it if not.

Pm June 08, 2006, at 03:52 PM


I found that the following statement in XlPage gave the desired result:

 '{$SiteGroup}/UploadQuickReference' => 'Portal.UploadQuickReference',

So I'll close this issue.

--Henning October 31, 2006, at 10:16 AM