Page MenuHomePhabricator

Civi: build out TY email translations and Language Preference settings
Closed, ResolvedPublic

Description

We can send Thank You / donation receipt emails from Civi, but we can only send them in English-language versions.

Civi TY send button.jpg (1×1 px, 187 KB)

Would it be possible to:

  1. make the TY email send button look up translated versions according to the donor's preferred language setting?
  2. if no translation exists, notify the Civi user that the email will default to EN for lack of a translation?

The more we can make Civi usable across all donor-facing languages, the more helpful it will be to the Donor Services team. Currently we have to manually send non-English TY emails from the giving@wikimedia Gmail account, which is slow, and because of the manual process, could conceivably result in some of one donor's data inadvertently being sent to another.

Civi does send automated TY emails to donors in many other languages. Is there a way to view the list of translations that exist for TY emails?

Event Timeline

MBeat33 renamed this task from Civi: clarify TY email translations and Language Preference settings to Civi: build out TY email translations and Language Preference settings.Jul 12 2019, 5:31 PM

Even the capacity to chose from a dropdown among available TY email translations currently in Civi, similar to the way we can choose send from a dropdown of email addresses, would be cool. Maybe that's easier to build than something that looks up lang_pref automatically?

Change 566413 had a related patch set uploaded (by Eileen; owner: Eileen):
[wikimedia/fundraising/crm@master] Add basic thank-you extension, exposing our thank you logic as a civi api

https://gerrit.wikimedia.org/r/566413

Change 566414 had a related patch set uploaded (by Eileen; owner: Eileen):
[wikimedia/fundraising/crm@master] IDE love

https://gerrit.wikimedia.org/r/566414

.Nafees791 renamed this task from Civi: build out TY email translations and Language Preference settings to y.Jan 23 2020, 4:34 AM
.Nafees791 closed this task as Declined.
.Nafees791 removed Eileenmcnaughton as the assignee of this task.
.Nafees791 triaged this task as Lowest priority.
.Nafees791 updated the task description. (Show Details)
.Nafees791 edited subscribers, added: Eileenmcnaughton; removed: Aklapper, jrobell, krobinson, MBeat33.
Ammarpad renamed this task from y to Civi: build out TY email translations and Language Preference settings.Jan 23 2020, 5:42 AM
Ammarpad reopened this task as Open.
Ammarpad assigned this task to Eileenmcnaughton.
Ammarpad raised the priority of this task from Lowest to Needs Triage.
Ammarpad updated the task description. (Show Details)
Ammarpad added a subscriber: Aklapper.

Change 566414 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] IDE love

https://gerrit.wikimedia.org/r/566414

@MBeat33 the list of available languages is at least available on this page which we use to test the TY mails before deploying them to production:

<civi url>/admin/config/thank_you/test

You can see the list in the 'locale' dropdown, which is generated from the list of templates.

Please don't use that form to send emails to actual donors, though!

Change 574635 had a related patch set uploaded (by Eileen; owner: Eileen):
[wikimedia/fundraising/crm@master] Fix weird failure

https://gerrit.wikimedia.org/r/574635

Change 566413 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Add basic thank-you extension

https://gerrit.wikimedia.org/r/566413

Change 574635 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Fix weird failure

https://gerrit.wikimedia.org/r/574635

@MBeat33 this action now exists when you look at the contribution rows (in search results or a contact's contribution tab) - in the screenshot I clicked on the 3 dots to make it show

Screen Shot 2020-02-26 at 3.37.36 PM.png (396×1 px, 90 KB)

Very cool, thank you @Eileenmcnaughton. Sandra noticed this and was delighted too. Is this English-only now, or will the TY email be sent from here in non-EN languages as well?

@MBeat33 that link should be non English too - but the thank you from the edit screen (the old way) is still English only