Translate MailerPress settings with WPML / Polylang

On a multilingual site, you can translate the texts you enter in the MailerPress settings, such as the sign-up confirmation email, with WPML or Polylang. This requires MailerPress 2.0 or later.

Translatable settings

SettingTranslatable textsWPML domain
Sign-up confirmation email (MailerPress > Settings > Sign-up Confirmation)Email subject, Email contentadmin_texts_mailerpress_signup_confirmation
Re-engagement email for inactive contacts (MailerPress > Audience > Engagement)Subject and content of the Re-engagement emailadmin_texts_mailerpress_inactive_subscribers
WooCommerce integrationSubscription checkbox labeladmin_texts_woocommerce_mailerpress_settings
WooCommerce My Account subscription pageMenu title, page title, page heading, page description, title, button text, success message, error messageadmin_texts_woocommerce_my_account_settings
Paid Memberships Pro integrationSubscription checkbox labeladmin_texts_pmpro_mailerpress_settings
Paid Memberships Pro account subscription pagePage heading, page description, title, button text, success message, error messageadmin_texts_pmpro_my_account_settings
SureCart integrationSubscription checkbox labeladmin_texts_surecart_mailerpress_settings
FluentCart integrationSubscription checkbox labeladmin_texts_fluentcart_mailerpress_settings
FluentCart My Account subscription pageMenu title, page heading, page description, title, button text, success message, error messageadmin_texts_fluentcart_my_account_settings

A text appears in WPML or Polylang only once it has been saved. Open the matching MailerPress settings screen and save it once, even if you keep the default text. Do this also for settings saved with an older MailerPress version, so that WPML and Polylang can read them.

Translate MailerPress settings with WPML

  1. Install and activate WPML and its String Translation add-on (it translates texts that are not posts or pages).
  2. Go to WPML > String Translation.
  3. Select the domain of the setting (see the table above), for example admin_texts_mailerpress_signup_confirmation, or search for the text.
  4. Click the translation link for the language, enter your translation and save.
  5. Clear your cache if you use a caching plugin.

Translate MailerPress settings with Polylang

  1. Install and activate Polylang.
  2. Go to Languages > Strings translations.
  3. Filter the list to mailerpress.
  4. Translate the texts, for example the subject and content of the sign-up confirmation email, then save.

Keep the merge tags (placeholders replaced by the contact’s or site’s data) and shortcodes of the original text in your translation, for example [contact:firstName], [site:title] and [activation_link]...[/activation_link] in the confirmation email. Otherwise the translated email loses its personalization or its confirmation link.

Test your translations

  1. Add a MailerPress sign-up form to a page, and to its translation.
  2. Sign up with a different email address on each language version (for example, English and French).
  3. Check that each address receives the confirmation email in the matching language.

To translate the MailerPress interface itself, see Translate MailerPress Into Your Language.