Translation of announcement-notify-mail does not correspond to the main language of the Journal when using the worker

  • using OJS 3.4.-0-7

When we are using the worker to handle the jobs, the variables in the announcement-notify-mail are not according to the language used by the journal. The template used is correct though.

With a copy of the software and database, where we are not using the worker, the template and variables used are according to the language used.

How can we fix this? Because we would like to keep using the worker.