Polylang

Noptin is fully compatible with the latest version of Polylang allowing you to run a multilingual newsletter.

This guide shows you the steps you need to take in order to run a multi-lingual newsletter using Noptin and Polylang.

Step 1: Translate Forms

You can translate your newsletter subscription forms into each of your site’s languages.

To do this:-

Click on Noptin Newsletter > Subscription Forms to open the subscription forms overview page…

open subscription forms overview page

… then click on the + sign to translate the form into a new language or the pencil icon to edit an existing translation.

translate newsletter form polylang

That’s all.

Every time you display a subscription form on your website, Noptin will try to display the translated version whenever possible. Learn more about translating custom content with Polylang.

Step 2: Translate Settings and Custom Fields

Next, we’ll translate Noptin settings and custom fields into all your supported languages.

This allows you to display confirmation messages and send double opt-in emails in the subscriber’s language.

To do this:-

Click on Languages > String Translations to open the string translations section…

polylang string translations

… then use the “group filter” at the top of the page to search for Noptin settings.

translate noptin strings to polylang

Finally, translate each string into each language that you support.

Step 3: Translate Newsletter Campaigns

The previous step showed you how to display subscription forms and confirmation messages and emails in the subscriber’s language.

Next, we’ll ensure that any emails they get are in their preferred languages.

To do this, we have to create a different email campaign for each language on our site and then filter the recipients via their preferred language as shown below.

filter email newsletter recipients by language

The preferred language dropdown is available when sending newsletters to Noptin subscribers, WordPress users, or WooCommerce customers.

If you’re sending the newsletter via Mailchimp or any of the supported integrations, you need to create a list or segment for each supported language and then use automation rules to sync a subscriber’s language with your CRM.

Translate post digests

You can pass the lang="en_US" merge tag argument to filter posts by the assigned Polylang language as shown below. Remember to replace en_US it with the actual language code.

Translate post digest posts
This campaign will send Swahili posts to users whose preferred language is Swahili.

The lang="en_US" the argument is only available if you’re using the Ultimate Add-ons Pack.

Remember to send yourself a test email and ensure that the correct posts have been set.

Translate new post notifications

If you’re using the Ultimate Add-ons Pack, you can limit post notifications by language as shown below.

translate new post notification emails

This way, you can create separate notifications for each language on your site and set them to send based on the subscriber’s preferred language.

Step 4: Translate automation rules

You can use automation rules to send automated emails and run actions based on your users’ behaviors.

Similar to newsletter campaigns, you can create multiple automation rules and then set each to run based on the subscriber’s language as shown in the example below:-

translate automation rules
This rule will only fire when a users’ preferred locale is English