[Pmwiki-users] Re: MulitLanguage

Knut Alboldt pmwiki
Sat Nov 6 14:09:39 CST 2004


At 20:25 06.11.2004, Graphity wrote:
>Knut Alboldt wrote:
>>well, again (see my mail form 31. Okt) , do you
>
>Oh, I misunderstood that email, sorry.

may be my fault not to explain it well ...


>>1) want to put sections of several languages into one wiki-page and then 
>>display the one the user chooses ?
>
>That's it!

ok !


>>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:
>><snip>
>
>So, I'll install v2...

ok, but to solve your problem, we've to find out how it can be determined 
what the reader's language is or what in which language the reader prefers 
to see the wiki-page.
Could be a url-parameter or a link to set up a cookie.
Or something in the browser's info send to the server.
But anyway, it's a good idea to migrate to v2 (it's great and offers many 
advantages to v1 (IMO) !)
If you already have v1 installed and created pages it's easy to migrate 
with the compat1x.php-script (described in 
http://www.pmwiki.org/pmwiki2/pmwiki.php/PmWiki/UpgradingFromPmWiki1)

>Where do I find it? It's not at http://www.pmwiki.org/pub/pmwiki/ and not 
>in the "pmwiki-latest.tgz"

pmwiki v2's homepage is http://www.pmwiki.org/pmwiki2/pmwiki.php
please read http://www.pmwiki.org/pmwiki2/pmwiki.php/PmWiki/Installation
download it from http://www.pmwiki.org/pub/pmwiki-devel/

any questions left will be answered by this mailing-list (at least I'm 
pretty sure :-)

Knut 




More information about the pmwiki-users mailing list