[pmwiki-users] Problem with XLPage
Carlos AB
cabsec.pmwiki at gmail.com
Wed Aug 22 10:25:09 CDT 2012
I'm using XLPage('pt-BR','Site.XLPagePtBr'), because I want the
translation to work for the entire site.
pmwiki-2.2.41 (VersionNum=2002041), phpinfo PHP Version 5.3.14.
This is the begining of my config.php:
...
## time zone
//putenv("TZ=EST5EDT");
date_default_timezone_set('America/Sao_Paulo');
//echo date_default_timezone_get();
## Locale
setlocale(LC_ALL,'pt_BR.UTF8');
## Timefmt
$TimeFmt = '%d de %B de %Y, às %H:%M';
## Unicode (UTF-8) allows the display of all languages and all alphabets.
## Highly recommended for new wikis.
include_once("scripts/xlpage-utf-8.php");
## XLPagePtBr
XLPage('pt-BR','Site.XLPagePtBr');
...
I thought that maybe it would only work for group 'Site', but even
there it is not working.
Carlos
On 8/22/12, Petko Yotov <5ko at 5ko.fr> wrote:
> On Wednesday 22 August 2012 05:09:15 Petko Yotov wrote:
>> I'm not sure, but on PmWiki.org we have
>> XLPage('pt-BR','PmWikiPtBr.XLPage'); # not Site.XLPagePtBr
>
> Actually, we have XLPage($group, "$group.XLPage"); where $group is the
> current
> wikigroup, but that shouldn't be a problem.
>
> Petko
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list