##default.journalSettings.emailSignature##

In OJS 3.0.2

MAIL signature

I found this in the email form

##default.journalSettings.emailSignature##

but when the emails were sent the #code## doesn’t change in the real signature.
Where i can found the place i can modify the content of:

##default.journalSettings.emailSignature##
There is a best pratice how to handle this kind of main sign for the journal?

Thankz a lot.
A.W.

Hi @mrwolf,

I would strongly suggest upgrading to a newer release; OJS 3.0.2 is by now quite old.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi, @asmecher

Same problem here. I’m using the OJS 3.1.1.0

Any hints?

Hi all,

The default.journalSettings.emailSignature locale key is installed into the database when the journal is created. If your translation was incomplete when you created the journal, you would have had ##default.journalSettings.emailSignature## installed into that field instead of the localized text. For English, for example, it should be the contents of this message XML element:

<message key="default.journalSettings.emailSignature"><![CDATA[<br/>
________________________________________________________________________<br/>
<a href="{$ldelim}$contextUrl{$rdelim}">{$ldelim}$contextName{$rdelim}</a>]]></message>

(see locale/en_US/default.xml.)

After the journal is created, you can edit that field in your journal setup.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thankz.

Cause i’ve copied the string above

<![CDATA[
________________________________________________________________________
{$ldelim}$contextName{$rdelim}]]>

from
locale/en_US/default.xml.
to
locale/it_IT/default.xml.
but nothing happened…

by the way, i’ve deleted the

##default.journalSettings.emailSignature## sign
in the editor form in the jopurnal setup and replaced with
a human classic italian sign for the journal…

So it’s a internal stuf of the DB/php…
Right?

Thankz a lot.
BTW it’s works on the emails deployed…
:slight_smile:

Hi @mrwolf,

Adding the missing locale key to locale/it_IT/default.xml will help for any journals you create in the future, but for any already-created journals, you’ll need to correct it in Journal Setup. So based on what you’ve done, I think you’ll be OK.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Perfect!
I’ve understood right.
Thankz a lot.

Regards

Thks @asmecher for your help. But i 'm missiing something

I did the hardcoded substitution on my DB:

<![CDATA[
________________________________________________________________________
{$ldelim}$contextName{$rdelim}]]>

And now I have in my assignature:


{$ldelim}$contextName{$rdelim}]]>

The vars are still vars. Any idea?

Hi @rodrigo_snape,

Replace the {$ldelim} and {$rdelim} with { and } (respectively). This would be done during the installation process; it’s essentially character escaping.

Regards,
Alec Smecher
Public Knowledge Project Team

The key in
message key=“default.journalSettings.emailSignature”
is also lacking in pt_BR/default.xml.
Please adjust this in next edition.
Thanks,
Antonio

Hi @antoniodosvox,

We depend on volunteer translators for all the translations and welcome new contributors!

Regards,
Alec Smecher
Public Knowledge Project Team