[pmwiki-users] Undo XLPage Selection for a Group

Thomas Lederer celok at gmx.net
Tue Dec 13 07:38:08 CST 2005


Patrick R. Michaud schrieb am 13.12.2005 14:31 Uhr:
> On Tue, Dec 13, 2005 at 12:57:43PM +0100, Thomas Lederer wrote:
>> Actually i have one more problem about the i18n:
>>
>> Patrick R. Michaud schrieb am 12.12.2005 16:48 Uhr:
>>> In your local/config.php, change your call to XLPage to be:
>>>
>>>    $group = FmtPageName('$Group', $pagename);
>>>    if ($group != 'Newgroup') XLPage('de', 'PmWikiDe.XLPage');
>>>
>>> This will load the translation file for all groups except Newgroup
>>> (and you don't need a call to XLPage in Newgroup.php).
>> While this works great meanwhile, i found that the page 
>> Newgroup.RecentChanges is not localized. I consider this to be a bug, 
>> because neither the TimeFmt from the local/Newgroup.php nor the $[by] 
>> Variable represents the English form.
>>
>> Ideas, help?
> 
> Existing entries in Newgroup.RecentChanges won't be affected,
> but any new entries in Newgroup.RecentChanges should appear in
> English.
> 
> Pm

While this is true for the $[by] the date still refuses to appear in the 
format from Newgroup.php

It does so however on the footer, where there is a comment like: 
"changed on ... by ..."

Tom





More information about the pmwiki-users mailing list