umbraco / Umbraco.Workflow.Issues

Public issue tracker for Umbraco Workflow
1 stars 0 forks source link

Notification email for the "Cancel" action to "Group email", the email body will be broken #87

Open kanalhui opened 3 weeks ago

kanalhui commented 3 weeks ago

When set the workflow with group email, the notification email of the "Cancel" is broken image

image

nathanwoulfe commented 2 weeks ago

Hey @kanalhui I suspect this is because the group doesn't have a language assigned - this is required to handle localizing the email body. Give that a try and let me know.

Ideally both those fields would be mandatory if either has a value.

kanalhui commented 1 week ago

Hi @nathanwoulfe

Thanks for your support. After we assign the language as English, it is working now. However, we tried to assign other language(our testing is using zh-hant ), the email body will missing the translation. May I know is it required to define the translation ourself via "Translation"?

image

nathanwoulfe commented 1 week ago

@kanalhui that is correct - the email body will only be translated if a translation dictionary exists. This is an XML file shipped as part of Workflow (or as a custom backoffice file), not translations maintained in the Translations section).

https://docs.umbraco.com/umbraco-cms/13.latest/extending/language-files shows how this works for 13 (it's very similar for 14).