-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select language when using email templates #3525
Comments
… in ReviewerForm
…emplate_reviewerForm##
…emplate_reviewerForm##
…emplate_reviewerForm##
I was going to add a new ticket but it seems like it might be a bit of a dupe of this one. Currently, if a user wants to send email out in another user's language they need to switch languages themselves to do so. See forum post: https://forum.pkp.sfu.ca/t/bilingual-email/55970/6 Nate mentioned the following:
Just to confirm that all emails go out in the sender's language, currently. |
It should be receiver-language based not sender language, i think! |
Yes, sending an email in the receiver's language is a good default. We have to be careful about situations where an email comes from someone though. For example, when an editor assigns a reviewer, they need to be able to preview and modify the email that is sent to the reviewer. In such cases, we need some flexibility since the editor may not be able to read an email in the preferred language of the reviewer. The editor needs to be told what language the reviewer prefers. But the editor still needs to be able to choose which language they prefer to send the email in. |
So, email preview is in sender's language; an on sending, email is sent in receiver's language. |
If an editor is sending an email, they need to know what is being sent. Switching out the language would be an unwelcome surprise and would not work in cases where the editor has customized the email before sending. This is a case where an automated decision should not be made, but tools should be built to help users make the most appropriate decision for their needs. |
Hello Regarding the problem of sending emails in the right language, maybe the smartest and easiest way is to send emails by concatenating different languages in one email. For example: if French is the primary locale and English is selected too, the email will be composed with the 2 languages separated by a line ..... subject : French version / English version French templateEnglish template |
This proposal may not be the best solution. Ideally, users' preferred languages should be stored in the database (and not just in a cookie as shown on #7293 ). Today, the "Working languages" parameter is a multi-value parameter (checkbox), I think it could be replaced by a form with radio buttons, to impose only one choice. Actually, I don't see where and how the "working languages" setting is used. Can you explain me @NateWr or @asmecher? And the problem persists when registering a new evaluator: by default, there is no way to know which language he will prefer. I currently have time to develop this feature - and our journals need it - so let me know if this is the way I should go. |
@forgive38 the working languages feature is not currently used. If you're interested in working on this, I have some thoughts and I think that we'd be open to a PR. Can you open a new issue and make a proposal with some use cases, keeping #6221 in mind as well? I think the key will be getting right the workflow when a user should be asked to provide it. Existing data shows that very few users have selected a working language, which isn't a surprise since they'd have to go looking for it. |
This has been added as part of the new email composer UI added in #5717. If a journal runs in more than one language, the person composing an email can choose to load an email template in any of the available languages. In 3.4, this will only be available in emails sent as part of editorial decisions. Other emails will get this feature when they are migrated to the new email composer UI. @amandastevens this will effect documentation. |
When sending an email template, it should be possible to send an email template in the language appropriate for the recipient.
There is an existing setting under the user profile for "Working Languages" that could be used.
See https://forum.pkp.sfu.ca/t/ojs-3-x-x-choice-to-pick-language-for-forms-and-templates-when-sending-e-mails/31849 and #3523.
The text was updated successfully, but these errors were encountered: