[dokuwiki] language files in action plugins

I'm stuck with using language files in an action plugin.
The action plugin replaces the current index. I cannot figure out how I can
access the language settings when using
$this->getLang('name=of=the=property'); It always returns empty, no error.

I'm even setting the locale in the constructor, even though getLang should
do that anyway:
$this->setupLocale();

Here's how I retrieve the page_header within a function:
print $this->getLang('page_header');

page_header is in the lang/en/lang.php file as
              $lang['page_header'] = 'Select and organize pages';

The same issue happens with
print p_locale_xhtml('index');
It always returns the index from the DW global language directory.

$this->lang only returns a blank array.

The same approach works just fine in an admin plugin.

Any idea what's different with action plugins and language settings?

Thanks...martin

Other related posts: