[pmwiki-users] Switching languages

Claude Montpetit claude at montpetit.net
Thu Jan 27 19:59:58 CST 2005


Claude Montpetit wrote:
> 
>> 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.

Ok, I found the info: PerGroupCustomizations
This ticket can be closed !

Claude

> 
>>
>>
>> Best, ~Hans                          
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list