Multilingual emails with Sitecore Web Forms for Marketers (WFFM)

Multilingual emails with Sitecore Web Forms for Marketers (WFFM)
10th October 2014

Shared "save actions" & multilingual "send email action"

Sitecore Web Forms For Marketers (WFFM) is a module that provides the editor with the ability to create and edit forms within the Sitecore editor. WFFM makes it easy for the Sitecore editor to add fields, validation and to set up actions on submission of the form. These forms can then be inserted into the correct position with in a page using the editors preferred editing mode e.g. page editor.

By default WFFM will not allow the editor to have different save actions across different language versions of the same form. If the form is required to send an email on form submission this could be an issue as the email content will be in the default (same) language as well as the same “send to” email address being used across all language versions of the form. This is because the save actions are shared across all language versions when “share” is set on the field in the template.

It may be the case that this suits your requirements, however if you require to have language specific save actions, send to email address and email content then you will need to un-share the save actions.

How to un-share save actions for WFFM

By default the save actions field will have “Shared” checkbox selected in the Web Forms for Marketers form template. You simply need to deselect it in the template in order to allow the save actions to be different for each language version.

You will now need to configure the save actions on a language by language (locale by locale) basis.

In the example site used the WFFM templates can be found here /sitecore/templates/Web Forms for Marketers/Form/Submit/Save Actions.

WFFM save actions Ensure that you use the form designer (in the ribbon top left) to edit your save action emails and change the current language using the language selector in the ribbon. Save actions can be edited in the form designer by first selecting the “submit” action then selecting the “Save action” link in the left column.

NB: if you use the content editor to edit the save action | Send email | Send email editor you will uncover a bug that only allows the editor to edit the default language no matter what the language selection from the language selector above the DMS profile icon (top right of content window).

Please let us know how you get on if you implement this, or if you know of any easier ways to get “Web Forms For Marketers” WFFM to work with multilingual websites in Sitecore.