[pmwiki-users] Best way to set wiki interface language for different users?

Rogutės Sparnuotos rogutes at googlemail.com
Fri Jan 22 15:18:18 CST 2010


I guess it depends on the authentication mechanism you are using... Is it
AuthUser? If it is, you could skim through PmWiki/AuthUser documentation
and notice this example:

    $Author = $AuthId; # after include_once()

Then visit
to see that $AuthId is indeed what you want.

if ($AuthId == 'harald') {

Hope it works!
--  Rogutės Sparnuotos

Harald C. (2010-01-22 01:54):
> Hello,
> I want to create a multilingual site using MultiLanguageViews, and I 
> have editors from different countries. How can I set the wiki interface 
> language via the XLPage for each editor?
> MultiLanguageViews proposes to do it according to the language view 
> chosen by the user (editor), but I think it won't be very useful to 
> change the language each time if e.g. a French person edits a page, then 
> looks at the result in e.g. first French and then in English.
> A fixed setting for all the editors in config.php is not desired either.
> A conditional setting according to the editor (or a user group) would be 
> better, but where and how?
> Thanks for tips.

More information about the pmwiki-users mailing list