[Pmwiki-users] Re: MulitLanguage

Raul 'Graphity' Pinto pmwiki-user
Sun Nov 7 05:11:35 CST 2004


Knut Alboldt wrote:
> At 16:03 06.11.2004, you wrote:
> to 1)
> if you're using pmwiki v2, you could do this by using the if-markup. You 
> have to define a IF-condition that matches the user's language (could be 
> either set by url-parameter and or cookie e.g. lang=fr or maybe by some 
> information you can get from the browser (have to look for some 
> browser's var passed to the server)). Then you can compose your page 
> like that:
> 
> (:if userlang en)
> here goes the english text
> (:if userlang fr:)
> here goes frensh text
> (:if userlang de:)
> here goes german text
> (:if:)

I just tried this and added "&userlang=de" to the URL but it still shows 
both languages (if-clauses)
http://wiki.graphity.info/pmwiki.php?pagename=M%FCnchen.Universit%E4tenVergleich&userlang=de

Any ideas?
Greetz
     Graphity



More information about the pmwiki-users mailing list