## signs in title tag

title tag has ## around words

In a plugin I set the title with

            'pageTitle' => __('plugins.generic.browseByAuthor.authors'),

Works fine as far as the title tag from ‘plugins.generic.browseByAuthor.authors’ is now surrounded by “##”

This is what it looks like:

<title>##Autoren## | OJS3</title>

What happens here?

Using OJS 3.4.0-16*

Hi @loadbrain,

The pageTitle template variable expects a locale key name, but you’re providing it with translated text.
Remove the __() translation function around the locale key in the code you quoted.

Alec Smecher
Public Knowledge Project Team

1 Like

Thanks a lot, this solved it :grinning: :+1:

1 Like