Display a Popup on a Multiple Language Site
The simplest way to use the free version of Popup Maker on a site with multiple languages is to set a condition that targets selected pages by their specific name. Refer to the 'Pages' or 'Posts' Admin page in the given language you want to target, and pass in the exact 'page' or 'post' name to the popup editor's Popup Settings box on the Targeting tab. Target the Pages: Selected or Posts: Selected condition, and add the page or post title in use on your site. You can target one or more page or post names when setting your condition.
Related article: Create Your First Popup -- Summary Guide
Related article: Conditions Introduction
Example: Set a 'Selected: Page' Condition
Your site content displays in 3 languages:
- English (EN),
- Italian (IT), and
- German (DE).
It contains 3 separate pages respectively named:
- 'Products' (EN),
- 'Prodotti (IT), and
- 'Produkte (DE).
You want to display a popup
only on the German (DE)
'Produckte' page. In the popup editor, go to the
Popup Settings box ->
Targeting tab. Within the field labeled,
Choose a condition to target your popup to specific content or various other segments.' select the following:
Seiten: Ausgewählt' >> Produkte
(English translation: Pages:
Selected >> Products)
If German is not the primary language of the site, then the site URL on the German-language area of the site will probably have a 'query parameter' added to the end of it. A query parameter is an added search term. A URL that includes a query parameter would look something like this:
The Advanced Targeting Conditions (ATC) extension to Popup Maker
allows one to target
any portion of a URL
any query parameter added to a URL
as a 'non-content-based' condition. If the query parameter 'lang=de' or 'produkte' is targeted, then the popup would activate on any page within the site that contained the query '?lang=de' and/or '?produkte' at the end of the URL.