2009/2/26 Anika Henke <anika@xxxxxxxxxxxxxxx>: > My template's lang files are from before we had localised template strings. > I suppose, it should be done differently now, but I have this in the head of > my main.php: > > include_once(dirname(__FILE__).'/lang/en/lang.php'); > @include_once(dirname(__FILE__).'/lang/'.$conf['lang'].'/lang.php'); Thanks Anika I think it's the problem, you've lighted it. In inc/init.php there is only the master language loaded : <code> ... //prepare language array global $lang; $lang = array(); //load the language files require_once(DOKU_INC.'inc/lang/en/lang.php'); if ( $conf['lang'] && $conf['lang'] != 'en' ) { require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php'); } ... </code> So I will do like you: loading the template's language definition in main.php Thanks a lot Cyrille -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist