Skip to content
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

[FW][FIX] website_slides: translate course invite into recipients' language #165490

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented May 14, 2024

Problem:
when adding attendees to a course, the sent email is not translated into the recipient's language.

Fix:
Upon sending, translate the email on a per recipient basis, but only when the final message to sent is exactly the same as the template. (i.e. the body was not edited from the dialog box)

This is a compromise to permit emails being translated while not breaking the following 2 current features:

  • there can be many recipients (with different languages)
  • the body is pre-filled with a template but can be edited further by the user directly from the dialog box.

opw-3862369


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #162237

Problem:
when adding attendees to a course, the sent email is not translated into
the recipient's language.

Fix:
Upon sending, translate the email on a per recipient basis,
but **only when** the final message to sent is exactly the same
as the template. (i.e. the body was not edited from the dialog box)

This is a compromise to permit emails being translated while not
breaking the following 2 current features:
* there can be many recipients (with different languages)
* the body is pre-filled with a template but can be edited further
  by the user directly from the dialog box.

opw-3862369

X-original-commit: c792bfc
@robodoo
Copy link
Contributor

robodoo commented May 14, 2024

Pull request status dashboard.

@fw-bot
Copy link
Contributor Author

fw-bot commented May 14, 2024

This PR targets saas-17.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label May 14, 2024
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label May 14, 2024
robodoo pushed a commit that referenced this pull request May 15, 2024
Problem:
when adding attendees to a course, the sent email is not translated into
the recipient's language.

Fix:
Upon sending, translate the email on a per recipient basis,
but **only when** the final message to sent is exactly the same
as the template. (i.e. the body was not edited from the dialog box)

This is a compromise to permit emails being translated while not
breaking the following 2 current features:
* there can be many recipients (with different languages)
* the body is pre-filled with a template but can be edited further
  by the user directly from the dialog box.

opw-3862369

closes #165490

X-original-commit: c792bfc
Signed-off-by: Nathaniel Jacques (naja) <naja@odoo.com>
@robodoo robodoo closed this May 15, 2024
@fw-bot fw-bot deleted the saas-17.2-saas-16.3-opw-3862369-elearning_invites_not_translated-naja-NxYT-fw branch May 29, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants