[pmwiki-users] Question on MultiLanguage
Tom Lederer
celok at gmx.net
Sat Jan 27 05:14:30 CST 2007
Hi,
multilanguage is another wonderful recipe. However i noticed a small
issue:
i use the cookie conditional (here is the part of my config.php):
$DefaultLanguages = array('de','en');
$LanguageSelectionFmt = '[[{$FullName}?userlang=$1|http://
www.celok.de/pmwiki/pub/lang/$1.png]] ';
include_once('cookbook/multilanguage.php');
if ($_COOKIE['userlang'] == 'de') {
XLPage('de','PmWikiDe.XLPageLocal');
XLPage('de','PmWikiDe.XLPage');
$TimeFmt = '%d.%m.%Y um %H.%M Uhr';
}
to include XLPages, but variables are substituted (or stop to be) on
reload only (like $[Edit] in PageActions or {$LastModified} in the
skin). The latter you can see on my page http://www.celok.de in the
last line at the bottom. (switch the language forth and back
continously)
Any ideas?
--
Tom
http://www.celok.de
More information about the pmwiki-users
mailing list