Translations of OMP emails

Describe the issue or problem
We have installed OMP on SciELO servers so that SciELO Books publishers can use it. We have enabled English, Portuguese and Spanish languages.

When sending messages through the system, even when selecting templates in Portuguese, the message sent is in English.

Steps I took leading up to the issue
For example:

  1. Go to ‘Users and roles’
  2. Click on ‘Invite to a role’
  3. After entering the user’s details, a screen will appear for selecting the message to be sent.

What application are you using?
Current version: OMP 3.5.0.1 (July 29, 2025 - 06:21 PM)

Hi @amandasramalho,

Thank you for sharing .

Can you confirm a few settings?

  • Try enabling all languages on the form level in language settings.
  • Double-check that when the template language is selected in the UI, it actually applies to the sent email and is not just changing the preview

I also note that the Portuguese email translations have not all yet been completed for 3.5:
https://translate.pkp.sfu.ca/projects/omp/emails/

Although, Spanish has been, and this doesn’t quite explain your issue, but if it were to work properly, you would still likely see some in those locales.

-Roger
PKP Team

Hi @rcgillis,

I checked the language settings and they are correctly enabled for the form level.

I redid the user registration and email sending test, and the message that appears to me, even though it is translated correctly, is not the same as the one I receive by email.

Here are some screenshots as examples:

Message sent:

Message received:

Hi @amandasramalho,

  • What do you have in your config.inc.php configuration file for the locale setting?
  • What do you have in Administration > Site Settings > Languages?

Thanks,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Hi @amandasramalho,

I believe this is happening because your installation does not have all the required content translated into Brazilian Portuguese. At the time of OMP 3.5.0-1’s release, the translation work had not been completed, so parts of OMP are falling back on the English language text.

Looking into Weblate, it appears that the pt_BR translation of this email is still not completed. Specifically, the following are needed:

(There are other strings there that are untranslated too, but those are the ones relevant to this issue.)

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher
Thank you for your comments.

When adding a new user, even though the template message was not translated, the editor wrote a message in Portuguese and sent it, but the system still ignored her message and sent the automatic text in English. Is this expected?

If we add the missing translations, is this automatically reflected in the installation?

Hi @amandasramalho,

Actually, I ran into that problem as well while investigating, and filed it yesterday for a fix:

https://github.com/pkp/pkp-lib/issues/11803

It should be a relatively small fix, but definitely important to include in the next release! Watch that issue for an update.

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 12 days. New replies are no longer allowed.