userlang, I use:
This works fine with simple
action=print for one individual page.
action=typesetpublish (trail page) the xml always contains the standard language regardless of the
userlang parameter. In the latter case pmwiki.php
PrintFmt functions are called by wikipublisher.php
PrintRetrievedText etc. without
$GLOBALS['userlang'] to be set correctly.
Question: Would some developer please make wikipublisher aware of the
$_GET['userlang'] in order to deal with multiple language wikis?
if (isset($_GET['userlang'])) $GLOBALS['userlang'] = $_GET['userlang'];
at the beginning of wikipublisher.php
But I’m just a tinkerer and I do not have oversight over the inner workings.
Since the multilanguage recipe controls $userlang, it may be better to change this recipe so that it sets $GLOBALS[‘userlang’] if $_GET[‘userlang’] is set. The recipe already includes this check to set $userlang.