[Pmwiki-users] pmwiki localization ?

Carlo Strozzi carlos
Tue Aug 5 13:15:51 CDT 2003


On Tue, Aug 05, 2003 at 12:49:52PM -0600, Patrick R. Michaud wrote:
> 
> Add something like the following to local.php (or local-it.php):
> 
>   $rc=FmtPageName('$Group.RecentChanges',$pagename);
>   if (PageExists($rc)) {
>     $rt=FmtPageName('$Group.ModificheRecenti',$pagename);
>     if (!PageExists($rt))
>       WritePage($rt,array('text'=>"[[include:$rc]]"));
>   }
> 
> This checks to see if a RecentChanges page exists for the group,
> if one does, then it creates the translated page if needed.

Cool, thanks!

Carlo
-- 
For best reading please set the Courier font.
Freedom for Business: http://swpat.ffii.org



More information about the pmwiki-users mailing list