[pmwiki-users] Question on MultiLanguage

Tom Lederer celok at gmx.net
Sat Jan 27 18:11:57 CST 2007


Just a notice: meanwhile i use
if ($userlang == 'de') {
         XLPage('de','PmWikiDe.XLPageCookbook');
         XLPage('de','PmWikiDe.XLPage');
}

which has the drawbacks noted on the cookbook page, so you can't see  
it on my page anymore.

Best Regards,
Tom

-- 

Tom
http://www.celok.de


Am 27.01.2007 um 12:14 schrieb Tom Lederer:

> 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
>
>
>
> _______________________________________________
> 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