[pmwiki-users] Switching languages

Claude Montpetit claude at montpetit.net
Thu Jan 27 19:18:47 CST 2005


> Hi Claude,
> create a file in local/ folder called PmWikiFr.php
> with this:
> 
> <?php if (!defined('PmWiki')) exit();
> ##change to French texts
> XLPage('fr','PmWikiFr.XLPage');
> ?>
> 
> that's all.

Hm... that worked. Great. Can you indicate where I can find info about 
this magic trick? Should I understand that a PHP file in the local 
directory is run when a page from a group corresponding to the filename 
is requested? I searched for more info about this and could not find it.

> 
> 
> Best, 
> ~Hans                           
> 




More information about the pmwiki-users mailing list