BO - International - Translations : Email Body Translation

Details

Steps

Step Description Expected result
Pre-condition: Enable feature flag

BO > Advanced Parameters > New & Experimental Features
The New & Experimental Features page is well displayed
Enable the feature flag email_body_translation > Click on Save button A message is displayed “Feature flags successfully updated”
Case 1: Navigate to the Email Body translation interface (flag enabled)

Click on International > Translations > Go to Modify translations section > Select values with following data > Click on Modify button
The new Symfony-driven translation interface is displayed :
- A domain tree is shown on the left
- Wording fields are shown on the right

The legacy TinyMCE editor is not shown
Case 2: Modify and save a translation (flag enabled)

Click on edit button for Account
h1. Edit email template: account (en) page displayed
Case 2: Modify and save a translation (flag enabled)

Edit a wording field > Click on Save button
A success flash message is displayed : “Email template “account” has been successfully updated."

No error is shown
Case 3: Persistence check (flag enabled)

Reload the page > Re-select the same domain (e.g. account)
The previously saved custom value is still present in the field
Case 4: Email template regeneration after save (flag enabled)

Edit a wording field > Click on Save button
A success flash message is displayed : “Translations successfully updated”

The email templates are regenerated for the selected language

The regeneration result is confirmed (success message or equivalent)
Case 5: No regression on legacy path (flag disabled)

BO > Advanced Parameters >  New & Experimental Features
The  New & Experimental Features page is well displayed
Disable the feature flag email_body_translation > Click on Save button A message is displayed “Feature flags successfully updated”
Click on International > Translations > Go to Modify translations section > Select values with following data > Click on Modify button The legacy TinyMCE interface is loaded without error

The new Symfony-driven interface is not shown