BO - International - Translations : Email Body Translation

Details

Steps

Step Description Expected result
Pre-condition: Enable feature flag

BO > Advanced Parameters > Feature Flags
The Feature Flags 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 a domain in the tree (e.g. Emails.Body) > Edit a wording field > Click on Save button
A success flash message is displayed : “Translations successfully updated”

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

Reload the page > Re-select the same domain (e.g. Emails.Body)
The previously saved custom value is still present in the field
Case 4: Reset a translation to default (flag enabled)

Click the Reset button next to the wording edited in Case 2
The field reverts to the official (default) translation value

A success flash message is displayed : “Translations successfully updated”
Case 5: 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 6: No regression on legacy path (flag disabled)

BO > Advanced Parameters > Feature Flags
The Feature Flags 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