Back to Sidekick Plugins Guides

This guide applies to:

  • Basic
  • Professional

Introduction

Draw Attention works with Polylang, so you can offer your interactive images in every language your site supports. Each language gets its own version of the interactive image, with its own hotspot titles, descriptions, and links, and Draw Attention shows the right one based on the language of the page.

The steps are a little different depending on your edition, so we’ve split them into a section for the Basic (free) Edition and a section for the Pro Edition.

Setting up Polylang for Translations

Learn how to set up Polylang so it is ready for translation.

Step 1: Install and Activate

Before we can start translating, let’s install and activate Polylang. Head on over to your WordPress Admin Dashboard > Plugins > Add New and search for Polylang. Once you’ve located it, install and activate the plugin.

Plugins Add New screen searched for Polylang, with the Install Now button highlighted on the Polylang card.
Search for Polylang in Plugins > Add New, then install and activate it.

After activation, Polylang opens a setup wizard. You can use the wizard to add your languages, or head straight to Languages in your dashboard and follow the steps below.

Step 2: Select Languages

Go to Languages in your dashboard. Under Add new language, choose a language from the dropdown and click Add new language. Start with your site’s original language, then add each language you’d like to translate into.

Add new language form with Svenska chosen in the language dropdown and the Full name, Locale, Language code and Flag fields filled in automatically.
Choose a language from the dropdown and Polylang fills in the details for you.

Step 3: Check the Language Details

When you choose a language from the dropdown, Polylang fills in the full name, locale, language code, and flag for you. You can adjust any of these before clicking Add new language, but the defaults work for most sites.

Repeat Steps 2 and 3 for any other languages you decide to add.

Step 4: Select Default Language

If you need to change your site’s default language, hover over your preferred language in the language list and click the star that appears.

Languages list with English as the default language and the star next to Svenska highlighted.
Hover over a language and click its star to make it the default.

Step 5: Include Draw Attention in the Custom Post Types

Navigate to Languages > Settings and open the settings for Custom post types and Taxonomies. Check Draw Attention (da_image) and click Save Changes.

Custom post types and Taxonomies settings with Draw Attention (da_image) checked and the Save Changes button highlighted.
Check Draw Attention under Custom post types and Taxonomies, then save.

Step 6: Add a Language Switcher

A language switcher lets your visitors move between the different language versions of your pages. How you add it depends on your theme:

  • Classic themes: Go to Appearance > Widgets (or Appearance > Customize > Widgets) and add the Language Switcher to a widget area.
  • Block themes (like the default Twenty Twenty-Five theme): These themes don’t have a Widgets screen. Go to Appearance > Editor and add the Language Switcher block to your header, footer, or any template part.

The switcher only lists languages once you’ve published content in them, so don’t worry if it looks empty right after setup.

This helpful guide also goes over how to set up Polylang.

Widgets screen with the Language Switcher block added to the Footer widget area, showing English and Svenska.
The Language Switcher added to a widget area in Appearance > Widgets.

How to Translate Draw Attention

Now that Polylang is set up, it’s time to start translating! Follow the section for your edition of Draw Attention.

Draw Attention Basic Edition

In the Basic Edition, each language has its own separate interactive image. The images aren’t linked to each other as translations in the editor, but Draw Attention still shows the right image for each language on your site.

Step 1: Create Your Interactive Image and Hotspots

Make sure that you have created your interactive image and its hotspots in your original language first, and saved it.

If you haven’t yet, learn how to create your first interactive image here.

Step 2: Add a Translation from the Original Image

In your original interactive image, find the Languages box on the right-hand side. Under Translations, click the + icon next to the language you’d like to add.

This opens a brand-new, empty interactive image for that language. Your original image stays exactly as it is.

Draw Attention image editor in the Basic Edition with the + icon next to the Swedish flag highlighted in the Languages box.
Click the + icon next to a language to create that language’s image.

Step 3: Upload the Image and Recreate Your Hotspots

The new image starts empty, so you’ll need to:

  1. Add a title for this language’s image.
  2. Upload the same main image again, either from your computer or from your Media Library.
  3. Recreate your hotspots and translate the hotspot titles, descriptions, and links.
  4. Click Update to save.

Step 4: Add Your Next Language

To add another language, go back to your original image first:

  1. Click Draw Attention > Edit Image in your dashboard.
  2. If a different language’s image opens, use the language filter in the top admin bar to switch to your original language, then click Draw Attention > Edit Image again.
  3. In the Languages box, click the + icon next to the next language and repeat Step 3.

To edit a translation later, open your original image and click the + icon next to that language. It opens the existing image for that language instead of creating a new one.

In the Basic Edition, the + icons don’t change to edit (pencil) icons, even after you save a translation. That’s expected, and everything still works on your site.

Avoid the Language Dropdown on an Existing Image

The Language dropdown at the top of the Languages box doesn’t switch you to another translation. It changes the language of the image you’re editing. If you change it on your original image and click Update, your original image becomes the other language, and your original language no longer has an interactive image.

If this happens, change the dropdown back to your original language and click Update.

Draw Attention Pro Edition

In the Pro Edition, Polylang links each translation to your original interactive image, so you can switch between them right from the editor.

Step 1: Create Your Interactive Image and Hotspots

Make sure that you have created your interactive image and its hotspots in your original language first, and saved it.

If you haven’t yet, learn how to create your first interactive image here.

Step 2: Add a Translation

In your original interactive image, find the Languages box on the right-hand side. Under Translations, click the + icon next to the language you’d like to add.

This opens a new interactive image for that language, already linked to your original. Your main image carries over, so there’s no need to upload it again.

Draw Attention Pro image editor with the + icon next to the Swedish flag highlighted in the Languages box.
Click the + icon next to a language to create a linked translation.

Step 3: Publish and Recreate Your Hotspots

Add a title for this language and click Publish. Once the translation is published, the hotspot settings appear.

Hotspots aren’t copied over, so recreate your hotspots and translate their titles, descriptions, and links. Then click Update.

Hotspot settings in a Swedish translation with the translated hotspot title highlighted.
Recreate your hotspots and translate their text.

Step 4: Switch Between Translations

Once a translation is saved, the + icon next to that language changes to an edit (pencil) icon. Click it to jump between your linked translations.

You can also see every translation from Draw Attention > All Images. The language columns show a flag or an edit icon for each translation, and a + icon wherever a translation doesn’t exist yet.

Swedish translation in the Draw Attention Pro editor with the pencil icon next to the English flag highlighted, linking to the English image.
Click the pencil icon to switch to a linked translation.
Draw Attention All Images list with English and Swedish language columns and the pencil icons for each linked translation highlighted.
The All Images list shows each image’s translations.

Add Your Interactive Image to Translated Pages

Polylang creates a separate copy of each page for each language, so you’ll need a translated version of the page where your interactive image appears.

  1. Open the page in your original language and click the + icon next to a language in the Languages box to create the translated page.
  2. Add the Draw Attention block, module, or shortcode to the translated page. Polylang doesn’t copy it over from the original page.
  3. Publish the translated page.

In the Pro Edition, you can choose your original interactive image in the block or shortcode on every translated page. Draw Attention automatically shows the matching translation for that page’s language.

In the Basic Edition, Draw Attention automatically shows the interactive image for that page’s language.

New pages are created in whichever language is selected in the admin bar language filter. If a new page ends up in the wrong language, check the filter before you create it.

View Your Translated Interactive Image

Visit the page with your original interactive image and scroll to your Language Switcher. Click another language to see the translated page with its interactive image.

Example: English

A page titled Resort Map showing the English interactive image with the Apartment 1 hotspot selected.
Original interactive image in English.

Example: Translated to Swedish

The Swedish version of the page, titled Resortkarta, showing the Swedish interactive image with the Lägenhet 1 hotspot selected.
The same page in Swedish, showing the Swedish interactive image.

Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.


Related Guides