[pmwiki-users] Localization again

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 31 13:39:00 CST 2005


On Thu, Mar 31, 2005 at 09:31:07PM +0200, CB wrote:
> 
> Well, I just found a clue about this problem.
> 
> I'm using lean skin , which define that in lean.php (lines 58 -> 60) :
>  $PageEditFmt = "<div id='wikiedit'>
>    <a id='top' name='top'></a>
>    <h1 class='wikiaction'>$[Editing] \$FullName</h1>
> [...]
> (my grep wasn't accurate enough I think...)
> 
> I think there is a conflict with the <h1 class='wikiaction'>$[Editing 
> \$FullName]</h1> in pmwiki.php.
> 
> I still don't figure to handle that, but I now have a better idea of 
> what is appening.

You just need to define the "Editing" translation and not 
"Editing $FullName" then.  You can do this in a local XLPage file --
just add to config.php:

    XLPage('fr', 'PmWikiFr.XLPageLocal');

and then place

    'Editing' => 'blablabla',

in the PmWikiFr.XLPageLocal file.

Pm



More information about the pmwiki-users mailing list